summaryrefslogtreecommitdiff
path: root/jstests/tool/dumprestore_auth3.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/dumprestore_auth3.js
parentf541080e8a4283a79cf21c5d62ffac325f7dad05 (diff)
downloadmongo-55b5ad87239ba35e542add1e7402fe775dc19b8e.tar.gz
SERVER-22341 fix jslint errors in jstests/tool with eslint --fix
Diffstat (limited to 'jstests/tool/dumprestore_auth3.js')
-rw-r--r--jstests/tool/dumprestore_auth3.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/tool/dumprestore_auth3.js b/jstests/tool/dumprestore_auth3.js
index 051c3c03699..62eed2e7d84 100644
--- a/jstests/tool/dumprestore_auth3.js
+++ b/jstests/tool/dumprestore_auth3.js
@@ -122,9 +122,9 @@ var dumpRestoreAuth3 = function(backup_role, restore_role) {
"version doc was changed by restore");
jsTestLog("Make modifications to user data that should be overridden by the restore");
- db.dropUser('user')
+ db.dropUser('user');
db.createUser({user: 'user2', pwd: 'password2', roles: jsTest.basicUserRoles});
- db.dropRole('role')
+ db.dropRole('role');
db.createRole({role: 'role2', roles: [], privileges:[]});
jsTestLog("Restore foo database (and user data) with --drop so it overrides the changes made");
@@ -213,7 +213,7 @@ var dumpRestoreAuth3 = function(backup_role, restore_role) {
"version doc was changed by restore");
MongoRunner.stopMongod(mongod);
-}
+};
// Tests that the default auth roles of backup and restore work properly.
dumpRestoreAuth3("backup", "restore");