Skip to content

Commit eb7f9a2

Browse files
kevinAlbsblink1073
andauthored
DRIVERS-2295 fix typos and add missing $$unsetOrMatches (#1836)
Co-authored-by: Steven Silvester <[email protected]>
1 parent 710166a commit eb7f9a2

File tree

6 files changed

+22
-6
lines changed

6 files changed

+22
-6
lines changed

source/client-side-encryption/tests/unified/timeoutMS.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/unified/timeoutMS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ tests:
122122
arguments:
123123
document: &doc0 { _id: 1, encrypted_string: "string0", random: "abc" }
124124
object: "coll"
125-
expectResult:
125+
expectError:
126126
isTimeoutError: true
127127
expectEvents:
128128
- client: "client0"
@@ -156,5 +156,5 @@ tests:
156156
arguments:
157157
document: *doc0
158158
object: "coll"
159-
expectResult:
159+
expectError:
160160
isTimeoutError: true

source/client-side-encryption/tests/unified/updateOne.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/unified/updateOne.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ tests:
248248
updates:
249249
- q: {}
250250
u: { $unset: { encrypted_string: "" } }
251+
multi: { "$$unsetOrMatches": false }
252+
upsert: { "$$unsetOrMatches": false }
251253
ordered: true
252254
commandName: update
253255
- description: "$rename works if target value has same encryption options"
@@ -292,6 +294,8 @@ tests:
292294
updates:
293295
- q: {}
294296
u: { $rename: { encrypted_string: "encrypted_string_equivalent" } }
297+
multi: { "$$unsetOrMatches": false }
298+
upsert: { "$$unsetOrMatches": false }
295299
ordered: true
296300
commandName: update
297301
- description: "$rename fails if target value has different encryption options"

source/client-side-encryption/tests/unified/validatorAndPartialFieldExpression.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-encryption/tests/unified/validatorAndPartialFieldExpression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ tests:
160160
- name: runCommand
161161
object: "db"
162162
arguments:
163-
commandName: collMod
163+
commandName: createIndexes
164164
command:
165165
createIndexes: "encryptedCollection"
166166
indexes:

0 commit comments

Comments
 (0)