diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-09-04 15:00:54 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-09-06 12:31:22 -0400 |
commit | ec23a4a3587f83c603b36b7761881c9edb8c503b (patch) | |
tree | 3e25e86f2743ddc909c14f31c93e70dd5071b311 /jstests/auth/profile.js | |
parent | 1a2d5ede29501a063f66da108fbb3d9a57eb1289 (diff) | |
download | mongo-ec23a4a3587f83c603b36b7761881c9edb8c503b.tar.gz |
SERVER-9517 Update tests to pass with new user schema
Diffstat (limited to 'jstests/auth/profile.js')
-rw-r--r-- | jstests/auth/profile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/auth/profile.js b/jstests/auth/profile.js index bad7b215fef..b566d2eaad5 100644 --- a/jstests/auth/profile.js +++ b/jstests/auth/profile.js @@ -3,8 +3,8 @@ var conn = startMongodTest(); var db1 = conn.getDB("profile-a"); var db2 = db1.getSisterDB("profile-b"); var username = "user"; -db1.addUser(username, "password"); -db2.addUser(username, "password"); +db1.addUser(username, "password", jsTest.basicUserRoles); +db2.addUser(username, "password", jsTest.basicUserRoles); function lastOp(db) { |