diff options
Diffstat (limited to 'jstests/noPassthrough/apply_ops_mode.js')
-rw-r--r-- | jstests/noPassthrough/apply_ops_mode.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/apply_ops_mode.js b/jstests/noPassthrough/apply_ops_mode.js index 9f069e2eca8..3bf4317de93 100644 --- a/jstests/noPassthrough/apply_ops_mode.js +++ b/jstests/noPassthrough/apply_ops_mode.js @@ -17,7 +17,7 @@ var coll = db.getCollection("apply_ops_mode1"); var id = ObjectId(); for (let updateOp of [ // An update with a modifier. - {op: 'u', ns: coll.getFullName(), o: {$set: {x: 1}}, o2: {_id: id}}, + {op: 'u', ns: coll.getFullName(), o: {$v: 2, diff: {u: {x: 1}}}, o2: {_id: id}}, // A full-document replace. {op: 'u', ns: coll.getFullName(), o: {_id: id, x: 1}, o2: {_id: id}}, ]) { |