Skip to content

Commit

Permalink
Fix assertions in CSFLE tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jyemin committed Apr 11, 2022
1 parent aa5824a commit 28264f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Expand Up @@ -1318,7 +1318,7 @@
}
},
"result": {
"errorContains": "Cannot encrypt element of type array"
"errorContains": "Cannot encrypt element of type"
}
}
]
Expand Down Expand Up @@ -1387,7 +1387,7 @@
}
},
"result": {
"errorContains": "Cannot encrypt element of type array"
"errorContains": "Cannot encrypt element of type"
}
}
]
Expand Down
12 changes: 6 additions & 6 deletions driver-core/src/test/resources/client-side-encryption/types.json
Expand Up @@ -540,7 +540,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: double"
"errorContains": "element of type: double"
}
}
]
Expand Down Expand Up @@ -587,7 +587,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: decimal"
"errorContains": "element of type: decimal"
}
}
]
Expand Down Expand Up @@ -943,7 +943,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: javascriptWithScope"
"errorContains": "element of type: javascriptWithScope"
}
}
]
Expand Down Expand Up @@ -988,7 +988,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: object"
"errorContains": "element of type: object"
}
}
]
Expand Down Expand Up @@ -1643,7 +1643,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: array"
"errorContains": "element of type: array"
}
}
]
Expand Down Expand Up @@ -1688,7 +1688,7 @@
}
},
"result": {
"errorContains": "Cannot use deterministic encryption for element of type: bool"
"errorContains": "element of type: bool"
}
}
]
Expand Down

0 comments on commit 28264f4

Please sign in to comment.