summaryrefslogtreecommitdiff
path: root/test/javascript/tests/reader_acl.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/javascript/tests/reader_acl.js')
-rw-r--r--test/javascript/tests/reader_acl.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/javascript/tests/reader_acl.js b/test/javascript/tests/reader_acl.js
index 3966b64cb..8dc28aae9 100644
--- a/test/javascript/tests/reader_acl.js
+++ b/test/javascript/tests/reader_acl.js
@@ -215,11 +215,7 @@ couchTests.reader_acl = function(debug) {
);
usersDb.deleteDb();
- // have to delete the backside version now too :(
- var req = CouchDB.newXhr();
- req.open("DELETE", "/_node/node1@127.0.0.1/" + users_db_name, false);
- req.send("");
- CouchDB.maybeThrowError(req);
-
+ // don't have to delete the backside db since in this case couch_auth_cache only read
+ // admin from the config section and so it never auto-created the node local db
secretDb.deleteDb();
}