summaryrefslogtreecommitdiff
path: root/src/chttpd/test/eunit/chttpd_purge_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/chttpd/test/eunit/chttpd_purge_tests.erl')
-rw-r--r--src/chttpd/test/eunit/chttpd_purge_tests.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chttpd/test/eunit/chttpd_purge_tests.erl b/src/chttpd/test/eunit/chttpd_purge_tests.erl
index dbd73de1f..ab435682a 100644
--- a/src/chttpd/test/eunit/chttpd_purge_tests.erl
+++ b/src/chttpd/test/eunit/chttpd_purge_tests.erl
@@ -24,7 +24,8 @@
setup() ->
- ok = config:set("admins", ?USER, ?PASS, _Persist=false),
+ Hashed = couch_passwords:hash_admin_password(?PASS),
+ ok = config:set("admins", ?USER, ?b2l(Hashed), _Persist=false),
TmpDb = ?tempdb(),
Addr = config:get("chttpd", "bind_address", "127.0.0.1"),
Port = mochiweb_socket_server:get(chttpd, port),