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 09:39:29 -0600
commit1b6caf8c136b89a8aed4c0b1fd46d8ba3ccaa4e0 (patch)
tree6c9d6227d84163a9d305c8e067b240bfc179e429
parent8e896884f09bbcbe60de5898424032451f59da74 (diff)
downloadcouchdb-fix-chttpd-purge-tests.tar.gz
Fix chttpd_purge_tests.erlfix-chttpd-purge-tests
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),