diff options
Diffstat (limited to 'jstests/auth/auth1.js')
-rw-r--r-- | jstests/auth/auth1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/auth1.js b/jstests/auth/auth1.js index 3d0a93c8f34..3959004d2b4 100644 --- a/jstests/auth/auth1.js +++ b/jstests/auth/auth1.js @@ -24,7 +24,7 @@ assert.eq(db.runCommand({eval : "function() { return 1; }"}).errmsg, errmsg); assert.eq(db.runCommand({getLastError : 1}).errmsg, errmsg); assert.eq(db.runCommand({whatsmyuri : 1}).errmsg, errmsg); assert.eq(db.runCommand({availableQueryOptions : 1}).errmsg, errmsg); -assert.eq(db.adminCommand({getLog : 1}).errmsg, errmsg); +assert.eq(db.adminCommand({getLog : "global"}).errmsg, errmsg); assert.eq(db.runCommand({getPrevError : 1}).errmsg, errmsg); assert.eq(db.runCommand({resetError : 1}).errmsg, errmsg); |