summaryrefslogtreecommitdiff
path: root/jstests/replsets/localhostAuthBypass.js
diff options
context:
space:
mode:
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 720c77b4b00..261538ee6a1 100644
--- a/jstests/replsets/localhostAuthBypass.js
+++ b/jstests/replsets/localhostAuthBypass.js
@@ -84,7 +84,7 @@ var runTest = function(useHostName) {
var mongo = new Mongo(host);
- assertCanRunCommands(mongo);
+ assertCannotRunCommands(mongo);
createUser(mongo);