diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/Makefile.am | 1 | ||||
-rw-r--r-- | share/www/script/couch_tests.js | 1 | ||||
-rw-r--r-- | share/www/script/test/users_db.js | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/share/Makefile.am b/share/Makefile.am index 935815a2..3c4b5da5 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -110,6 +110,7 @@ nobase_dist_localdata_DATA = \ www/script/test/attachment_names.js \ www/script/test/attachment_paths.js \ www/script/test/attachment_views.js \ + www/script/test/auth_cache.js \ www/script/test/basics.js \ www/script/test/batch_save.js \ www/script/test/bulk_docs.js \ diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index 4225ce7a..383d2ee6 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -35,6 +35,7 @@ loadTest("attachments_multipart.js"); loadTest("attachment_names.js"); loadTest("attachment_paths.js"); loadTest("attachment_views.js"); +loadTest("auth_cache.js"); loadTest("batch_save.js"); loadTest("bulk_docs.js"); loadTest("changes.js"); diff --git a/share/www/script/test/users_db.js b/share/www/script/test/users_db.js index 77069c98..b85adf08 100644 --- a/share/www/script/test/users_db.js +++ b/share/www/script/test/users_db.js @@ -24,8 +24,6 @@ couchTests.users_db = function(debug) { // to determine the actual users db name. function testFun() { - usersDb.deleteDb(); - // test that the validation function is installed var ddoc = usersDb.open("_design/_auth"); T(ddoc.validate_doc_update); @@ -89,10 +87,12 @@ couchTests.users_db = function(debug) { }; + usersDb.deleteDb(); run_on_modified_server( [{section: "couch_httpd_auth", - key: "authentication_db", value: "test_suite_users"}], + key: "authentication_db", value: usersDb.name}], testFun ); + usersDb.deleteDb(); // cleanup }
\ No newline at end of file |