Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit efb8958

Browse filesBrowse files
committed
PYTHON-1995 Resync encryption spec tests to 71518175e8bd5ee36fc35a7529b65f9d248b1c83
1 parent 802de40 commit efb8958
Copy full SHA for efb8958

File tree

Expand file treeCollapse file tree

4 files changed

+5
-13
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-13
lines changed
Open diff view settings
Collapse file

‎test/client-side-encryption/spec/bulk.json‎

Copy file name to clipboardExpand all lines: test/client-side-encryption/spec/bulk.json
+2-10Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,8 @@
148148
"name": "deleteOne",
149149
"arguments": {
150150
"filter": {
151-
"$and": [
152-
{
153-
"encrypted_string": "string1"
154-
},
155-
{
156-
"_id": {
157-
"$eq": 2
158-
}
159-
}
160-
]
151+
"encrypted_string": "string1",
152+
"_id": 2
161153
}
162154
}
163155
}
Collapse file

‎test/client-side-encryption/spec/getMore.json‎

Copy file name to clipboardExpand all lines: test/client-side-encryption/spec/getMore.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"batchSize": 2,
143143
"filter": {}
144144
},
145-
"results": [
145+
"result": [
146146
{
147147
"_id": 1,
148148
"encrypted_string": "string0"
Collapse file

‎test/client-side-encryption/spec/malformedCiphertext.json‎

Copy file name to clipboardExpand all lines: test/client-side-encryption/spec/malformedCiphertext.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
}
313313
},
314314
"result": {
315-
"errorContains": "did not provide all keys"
315+
"errorContains": "not all keys requested were satisfied"
316316
}
317317
}
318318
]
Collapse file

‎test/client-side-encryption/spec/missingKey.json‎

Copy file name to clipboardExpand all lines: test/client-side-encryption/spec/missingKey.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
}
120120
},
121121
"result": {
122-
"errorContains": "did not provide all keys"
122+
"errorContains": "not all keys requested were satisfied"
123123
}
124124
}
125125
],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.