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 20:20:05 +0100
commit64c94168e234c6a3178f2563263e75965f1469e0 (patch)
tree05e0ca3358f9f644031925ee9c556cfb93c55b26
parentdfc5d37c4a29ed02d74946aa88576c98731a5c51 (diff)
downloadcouchdb-64c94168e234c6a3178f2563263e75965f1469e0.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 8dcdc6320..9735d6b07 100644
--- a/share/www/script/test/users_db_security.js
+++ b/share/www/script/test/users_db_security.js
@@ -97,11 +97,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";
@@ -223,7 +221,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}],