summaryrefslogtreecommitdiff
path: root/jstests/core/command_json_schema_field.js
diff options
context:
space:
mode:
authorArun Banala <arun.banala@mongodb.com>2020-11-16 17:38:10 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-02 18:37:38 +0000
commit864d81272c7abe7b411a569001e9f809b8407687 (patch)
tree8fda7a4b53cb93cf80803ea62b77e3f9459535da /jstests/core/command_json_schema_field.js
parent6446fe2ed7298f0e91476384fc7fcf2abc9b9328 (diff)
downloadmongo-864d81272c7abe7b411a569001e9f809b8407687.tar.gz
SERVER-51620 Convert findAndModify input to IDL
Diffstat (limited to 'jstests/core/command_json_schema_field.js')
-rw-r--r--jstests/core/command_json_schema_field.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/command_json_schema_field.js b/jstests/core/command_json_schema_field.js
index 0487e6ac451..7015cad289a 100644
--- a/jstests/core/command_json_schema_field.js
+++ b/jstests/core/command_json_schema_field.js
@@ -30,7 +30,7 @@ assertCommandFailsWithCorrectError({find: coll.getName(), jsonSchema: {}},
// FindAndModify
assertCommandFailsWithCorrectError(
{findAndModify: coll.getName(), query: {_id: 0}, remove: true, jsonSchema: {}},
- ErrorCodes.FailedToParse);
+ [ErrorCodes.FailedToParse, 4662500]);
// Count
assertCommandFailsWithCorrectError({count: coll.getName(), jsonSchema: {}}, 4662500);