diff options
Diffstat (limited to 'jstests/auth/auth3.js')
-rw-r--r-- | jstests/auth/auth3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/auth3.js b/jstests/auth/auth3.js index 36bd9e342f9..b4ac14593a7 100644 --- a/jstests/auth/auth3.js +++ b/jstests/auth/auth3.js @@ -2,7 +2,7 @@ var conn = MongoRunner.runMongod({auth : "", port : 31001}); var admin = conn.getDB("admin"); -admin.addUser("foo","bar", jsTest.adminUserRoles); +admin.addUser({user:"foo",pwd: "bar", roles: jsTest.adminUserRoles}); print("make sure curop, killop, and unlock fail"); |