summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorKatherine Wu <katherine.wu@mongodb.com>2020-06-01 13:51:34 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-11 18:22:47 +0000
commit5c7cdc392c2ea058d7ec93609203fcc5bb74bb99 (patch)
tree3033463c9f2afd7f09907a2f22b120de9776b41f /jstests/noPassthroughWithMongod
parent01707971319a5970604c20598f286b2e1882a682 (diff)
downloadmongo-5c7cdc392c2ea058d7ec93609203fcc5bb74bb99.tar.gz
SERVER-46116 Add integration tests for let variables
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/command_let_variables.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jstests/noPassthroughWithMongod/command_let_variables.js b/jstests/noPassthroughWithMongod/command_let_variables.js
index 80004ab9fc7..42f5ee4c2fc 100644
--- a/jstests/noPassthroughWithMongod/command_let_variables.js
+++ b/jstests/noPassthroughWithMongod/command_let_variables.js
@@ -218,13 +218,6 @@ result = db.runCommand({
});
assert.eq(result.value, {Species: "not_a_bird", suspect: "dino"}, result);
-// Delete
-result = assert.commandWorked(db.runCommand({
- delete: coll.getName(),
- let : {target_species: "not_a_bird"},
- deletes: [{q: {$expr: {$eq: ["$Species", "$$target_species"]}}, limit: 0}]
-}));
-
// Update
assert.commandWorked(db.runCommand({
update: coll.getName(),