Skip to content

Commit

Permalink
DRIVERS-2407 update expected error message of fle2-InsertFind-Unindexed
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs committed Jul 30, 2022
1 parent 0e2f8f9 commit a202668
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Expand Up @@ -80,4 +80,8 @@ tests:
arguments:
filter: { encryptedUnindexed: "value123" }
result:
errorContains: "Cannot query"
# Expected error message changed in https://github.com/10gen/mongo-enterprise-modules/commit/212b584d4f7a44bed41c826a180a4aff00923d7a#diff-5f12b55e8d5c52c2f62853ec595dc2c1e2e5cb4fdbf7a32739a8e3acb3c6f818
# Before the message was "cannot query non-indexed fields with the randomized encryption algorithm"
# After: "can only execute encrypted equality queries with an encrypted equality index"
# Use a small common substring.
errorContains: "encrypt"
Expand Up @@ -241,7 +241,7 @@
}
},
"result": {
"errorContains": "Cannot query"
"errorContains": "encrypt"
}
}
]
Expand Down
Expand Up @@ -80,4 +80,8 @@ tests:
arguments:
filter: { encryptedUnindexed: "value123" }
result:
errorContains: "Cannot query"
# Expected error message changed in https://github.com/10gen/mongo-enterprise-modules/commit/212b584d4f7a44bed41c826a180a4aff00923d7a#diff-5f12b55e8d5c52c2f62853ec595dc2c1e2e5cb4fdbf7a32739a8e3acb3c6f818
# Before the message was "cannot query non-indexed fields with the randomized encryption algorithm"
# After: "can only execute encrypted equality queries with an encrypted equality index"
# Use a small common substring.
errorContains: "encrypt"

0 comments on commit a202668

Please sign in to comment.