summaryrefslogtreecommitdiff
path: root/test/javascript/tests/users_db.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2016-07-12 21:40:25 +0200
committerJan Lehnardt <jan@apache.org>2016-07-12 21:40:25 +0200
commitc34d871bb1631513868f8a0594c95001e910964f (patch)
treede8a59460cfd31ceb4694a68ff8dff80a29be30a /test/javascript/tests/users_db.js
parentf72b2530103dff9c2784916ead2dad5331f075f3 (diff)
downloadcouchdb-c34d871bb1631513868f8a0594c95001e910964f.tar.gz
get full suite to runauth-tests-wip
Diffstat (limited to 'test/javascript/tests/users_db.js')
-rw-r--r--test/javascript/tests/users_db.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/javascript/tests/users_db.js b/test/javascript/tests/users_db.js
index 9c67ec50b..074ff3182 100644
--- a/test/javascript/tests/users_db.js
+++ b/test/javascript/tests/users_db.js
@@ -104,7 +104,6 @@ couchTests.users_db = function(debug) {
});
T(false && "this will throw");
} catch(e) {
- log(e.error)
T(e.error == "unauthorized");
T(/conflict/.test(e.reason));
}
@@ -208,9 +207,8 @@ couchTests.users_db = function(debug) {
usersDb.deleteDb(); // cleanup
usersDb.createDb();
usersDbAlt.deleteDb(); // cleanup
- CouchDB.logout();
}
}
);
-
+ CouchDB.logout();
}