summaryrefslogtreecommitdiff
path: root/jstests/tool/restorewithauth.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:31:43 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-05 15:00:52 -0500
commit55b5ad87239ba35e542add1e7402fe775dc19b8e (patch)
tree64e8ac3964c3c8d4c3e970737ebcc57ab604969c /jstests/tool/restorewithauth.js
parentf541080e8a4283a79cf21c5d62ffac325f7dad05 (diff)
downloadmongo-55b5ad87239ba35e542add1e7402fe775dc19b8e.tar.gz
SERVER-22341 fix jslint errors in jstests/tool with eslint --fix
Diffstat (limited to 'jstests/tool/restorewithauth.js')
-rw-r--r--jstests/tool/restorewithauth.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/tool/restorewithauth.js b/jstests/tool/restorewithauth.js
index aec3d6859bc..6db4b0bf359 100644
--- a/jstests/tool/restorewithauth.js
+++ b/jstests/tool/restorewithauth.js
@@ -52,11 +52,11 @@ MongoRunner.stopMongod(conn);
conn = MongoRunner.runMongod({auth: "", nojournal: "", bind_ip: "127.0.0.1"});
// admin user
-var admin = conn.getDB( "admin" )
+var admin = conn.getDB( "admin" );
admin.createUser({user: "admin" , pwd: "admin", roles: jsTest.adminUserRoles});
admin.auth( "admin" , "admin" );
-var foo = conn.getDB( "foo" )
+var foo = conn.getDB( "foo" );
// make sure no collection with the same name exists
collNames = foo.getCollectionNames();