summaryrefslogtreecommitdiff
path: root/jstests/replsets/localhostAuthBypass.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-09-04 15:00:54 -0400
committerSpencer T Brody <spencer@10gen.com>2013-09-06 12:31:22 -0400
commitec23a4a3587f83c603b36b7761881c9edb8c503b (patch)
tree3e25e86f2743ddc909c14f31c93e70dd5071b311 /jstests/replsets/localhostAuthBypass.js
parent1a2d5ede29501a063f66da108fbb3d9a57eb1289 (diff)
downloadmongo-ec23a4a3587f83c603b36b7761881c9edb8c503b.tar.gz
SERVER-9517 Update tests to pass with new user schema
Diffstat (limited to 'jstests/replsets/localhostAuthBypass.js')
-rw-r--r--jstests/replsets/localhostAuthBypass.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/localhostAuthBypass.js b/jstests/replsets/localhostAuthBypass.js
index 1384bb875fc..eef40c4a774 100644
--- a/jstests/replsets/localhostAuthBypass.js
+++ b/jstests/replsets/localhostAuthBypass.js
@@ -11,7 +11,7 @@ var password = "bar";
var addUser = function(mongo) {
print("============ adding a user.");
- mongo.getDB("admin").addUser(username, password);
+ mongo.getDB("admin").addUser(username, password, jsTest.adminUserRoles);
};
var assertCannotRunCommands = function(mongo) {