summaryrefslogtreecommitdiff
path: root/jstests/auth/lib/commands_lib.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/lib/commands_lib.js')
-rw-r--r--jstests/auth/lib/commands_lib.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 4d606ae63d3..eb4b2694539 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -1419,7 +1419,7 @@ var authCommandsLib = {
},
{
testname: "listCollections",
- command: {listCollections: 1},
+ command: {listCollections: 1, cursor: {}},
setup: function (db) {
db.x.insert({_id: 5});
db.y.insert({_id: 6});
@@ -1458,7 +1458,7 @@ var authCommandsLib = {
},
{
testname: "listIndexes",
- command: {listIndexes: "x"},
+ command: {listIndexes: "x", cursor: {}},
setup: function (db) {
db.x.insert({_id: 5});
db.x.insert({_id: 6});