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 a148b936153..b22c86b87b4 100644 --- a/jstests/auth/auth3.js +++ b/jstests/auth/auth3.js @@ -13,7 +13,7 @@ assert.eq(x.err, "unauthorized", tojson(x)); x = admin.killOp(123); assert(!("info" in x), tojson(x)); -assert.eq(x.err, "unauthorized", tojson(x)); +assert.eq(x.code, errorCodeUnauthorized, tojson(x)); x = admin.fsyncUnlock(); assert(x.errmsg != "not locked", tojson(x)); |