Use couch_tests:setup/1
Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/54e8f614 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/54e8f614 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/54e8f614 Branch: refs/heads/master Commit: 54e8f6147486d9afc5245e0143d15a4dd1185654 Parents: 46de497 Author: ILYA Khlopotov <iil...@ca.ibm.com> Authored: Thu Mar 17 10:59:01 2016 -0700 Committer: ILYA Khlopotov <iil...@ca.ibm.com> Committed: Thu Mar 17 10:59:01 2016 -0700 ---------------------------------------------------------------------- test/chttpd_plugin_tests.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/54e8f614/test/chttpd_plugin_tests.erl ---------------------------------------------------------------------- diff --git a/test/chttpd_plugin_tests.erl b/test/chttpd_plugin_tests.erl index 4b6334f..36572a4 100644 --- a/test/chttpd_plugin_tests.erl +++ b/test/chttpd_plugin_tests.erl @@ -47,7 +47,7 @@ notify(_, _, _) -> ok. setup() -> couch_tests:setup([ couch_epi_dispatch:dispatch(chttpd, ?MODULE) - ], [], []). + ]). teardown(Ctx) -> couch_tests:teardown(Ctx).