diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-11-06 14:49:35 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-11-06 17:11:39 -0500 |
commit | 49fd6dbb2b6d9432cb4d94aaf3e06ca6943042d6 (patch) | |
tree | 202e0c261a8fbac00b2f08e91849d1de04f0ffe3 /jstests/auth/log_user_basic.js | |
parent | f2ae6a0732ce5fdfe1a2aac8f2fc12e5a04a650c (diff) | |
download | mongo-49fd6dbb2b6d9432cb4d94aaf3e06ca6943042d6.tar.gz |
SERVER-11555 Replace all occurrences of addUser with createUser in jstests
Diffstat (limited to 'jstests/auth/log_user_basic.js')
-rw-r--r-- | jstests/auth/log_user_basic.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/log_user_basic.js b/jstests/auth/log_user_basic.js index ff088b53125..82702fc4756 100644 --- a/jstests/auth/log_user_basic.js +++ b/jstests/auth/log_user_basic.js @@ -77,7 +77,7 @@ var doTest = function(conn1, conn2) { var loginUser = function(connInfo, connAuth) { var db = connInfo.mongo.getDB(connAuth.db); - db.addUser({user: connAuth.user, pwd: connAuth.pwd, roles: jsTest.adminUserRoles}); + db.createUser({user: connAuth.user, pwd: connAuth.pwd, roles: jsTest.adminUserRoles}); db.auth(connAuth.user, connAuth.pwd); connInfo.users[connAuth.db] = connAuth.user; }; |