diff options
Diffstat (limited to 'jstests/sharding/auth.js')
-rw-r--r-- | jstests/sharding/auth.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/auth.js b/jstests/sharding/auth.js index f9bcb881d36..230e2429467 100644 --- a/jstests/sharding/auth.js +++ b/jstests/sharding/auth.js @@ -80,7 +80,7 @@ logout(adminUser); var result = s.getDB("admin").runCommand({addShard : shardName}); printjson(result); -assert.eq(result.code, 13); +assert.eq(result.errmsg, "unauthorized"); login(adminUser); |