summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2012-02-16 16:29:06 +0100
committerJan Lehnardt <jan@apache.org>2012-02-21 14:39:05 +0100
commita1c9c9927e3338b5156bd1bfc9704a4634ea887c (patch)
treef4690953308df4c8ac78822e76d53f273a159c89
parent2ef8ecc08dc232e86d24f3bbbee083ba57182d5a (diff)
downloadcouchdb-a1c9c9927e3338b5156bd1bfc9704a4634ea887c.tar.gz
fix comments & whitespace in tests
-rw-r--r--share/www/script/test/users_db_security.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/www/script/test/users_db_security.js b/share/www/script/test/users_db_security.js
index 8e1bb21ad..faa2be4eb 100644
--- a/share/www/script/test/users_db_security.js
+++ b/share/www/script/test/users_db_security.js
@@ -99,11 +99,9 @@ couchTests.users_db_security = function(debug) {
TEquals(null, res, "anonymous user doc read should be not found");
// user should be able to read their own document
-
var jchrisDoc = open_as(usersDb, "org.couchdb.user:jchris", "jchris");
TEquals("org.couchdb.user:jchris", jchrisDoc._id);
- // user should bt able to update their own document
// new 'password' fields should trigger new hashing routine
jchrisDoc.password = "couch";
@@ -227,7 +225,7 @@ couchTests.users_db_security = function(debug) {
});
};
- usersDb.deleteDb();
+ usersDb.deleteDb();
run_on_modified_server(
[{section: "couch_httpd_auth",
key: "authentication_db", value: usersDb.name}],