diff options
Diffstat (limited to 'jstests/noPassthrough/js_protection.js')
-rw-r--r-- | jstests/noPassthrough/js_protection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/js_protection.js b/jstests/noPassthrough/js_protection.js index 7783488a663..2937e488143 100644 --- a/jstests/noPassthrough/js_protection.js +++ b/jstests/noPassthrough/js_protection.js @@ -62,7 +62,7 @@ function assertNoStoredWhere() { {$set: {y: 100}}, false, true); - assert.writeOK(res); + assert.commandWorked(res); doc = t.findOne({name: "testdoc"}); assert.neq(null, doc); |