couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject [37/50] git commit: Remove console.log() statements from test
Date Sun, 22 Jan 2012 23:43:14 GMT
Remove console.log() statements from test


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/99c3467a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/99c3467a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/99c3467a

Branch: refs/heads/COUCHDB-1342
Commit: 99c3467a1c3c91a6b13ac8cd064cfd1f8ea45426
Parents: 6cf3e09
Author: Filipe David Borba Manana <fdmanana@apache.org>
Authored: Thu Jan 5 18:47:43 2012 +0000
Committer: Filipe David Borba Manana <fdmanana@apache.org>
Committed: Thu Jan 5 18:47:43 2012 +0000

----------------------------------------------------------------------
 share/www/script/test/users_db_security.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/99c3467a/share/www/script/test/users_db_security.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/users_db_security.js b/share/www/script/test/users_db_security.js
index b3968b1..8dcdc63 100644
--- a/share/www/script/test/users_db_security.js
+++ b/share/www/script/test/users_db_security.js
@@ -25,7 +25,6 @@ couchTests.users_db_security = function(debug) {
     };
     var username1 = username.replace(/[0-9]$/, "");
     var password = pws[username];
-    //console.log("Logging in '" + username1 + "' with password '" + password + "'");
     T(CouchDB.login(username1, pws[username]).ok);
   };
 
@@ -80,7 +79,6 @@ couchTests.users_db_security = function(debug) {
     // jan's gonna be admin as he's the first user
     TEquals(true, usersDb.save(userDoc).ok, "should save document");
     userDoc = usersDb.open("org.couchdb.user:jchris");
-    console.log(userDoc);
     TEquals(undefined, userDoc.password, "password field should be null 1");
     TEquals(40, userDoc.password_sha.length, "password_sha should exist");
     TEquals(32, userDoc.salt.length, "salt should exist");
@@ -191,13 +189,11 @@ couchTests.users_db_security = function(debug) {
         TEquals("forbidden", e.error, "non-admins can't read design docs");
       }
 
-      console.log(fdmananaDoc);
       // admin should be able to read and edit any user doc
       fdmananaDoc.password = "mobile";
       var result = save_as(usersDb, fdmananaDoc, "jan");
       TEquals(true, result.ok, "admin should be able to update any user doc");
 
-      console.log(fdmananaDoc);
       // admin should be able to read and edit any user doc
       fdmananaDoc.password = "mobile1";
       var result = save_as(usersDb, fdmananaDoc, "benoitc");


Mime
View raw message