summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-10-06 14:49:49 -0400
committerSpencer T Brody <spencer@10gen.com>2013-10-06 17:19:23 -0400
commitee7ea7ea7f8eb423cd2ee8ec928f2b50e014ac52 (patch)
tree35053a882d3359ee08120d6da5b841b474ef0cf4 /jstests/auth
parent4de73d9215a0a72424d65b6dac0d0d295ee88e35 (diff)
downloadmongo-ee7ea7ea7f8eb423cd2ee8ec928f2b50e014ac52.tar.gz
SERVER-6246 SERVER-9515 Update usersInfo and rolesInfo commands to new API
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/basic_role_auth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/basic_role_auth.js b/jstests/auth/basic_role_auth.js
index 79751443ea5..6f7189185ba 100644
--- a/jstests/auth/basic_role_auth.js
+++ b/jstests/auth/basic_role_auth.js
@@ -186,7 +186,7 @@ var testOps = function(db, allowedActions) {
}, db);
checkErr(allowedActions.hasOwnProperty('user_r'), function() {
- var result = db.runCommand({usersInfo: /.*/});
+ var result = db.runCommand({usersInfo: 1});
if (!result.ok) {
throw new Error(tojson(result));
}