summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2020-01-09 09:35:04 -0600
committerPaul J. Davis <paul.joseph.davis@gmail.com>2020-01-09 10:03:42 -0600
commitfe12bd89d1e4fdc101985c70918119b6897c2c52 (patch)
tree6c9d6227d84163a9d305c8e067b240bfc179e429
parent8e896884f09bbcbe60de5898424032451f59da74 (diff)
downloadcouchdb-fe12bd89d1e4fdc101985c70918119b6897c2c52.tar.gz
Fix chttpd_purge_tests.erl
Fixes #2424
-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),