Skip to content

Commit 28264f4

Browse files
committed
Fix assertions in CSFLE tests
JAVA-4572
1 parent aa5824a commit 28264f4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

driver-core/src/test/resources/client-side-encryption/badQueries.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@
13181318
}
13191319
},
13201320
"result": {
1321-
"errorContains": "Cannot encrypt element of type array"
1321+
"errorContains": "Cannot encrypt element of type"
13221322
}
13231323
}
13241324
]
@@ -1387,7 +1387,7 @@
13871387
}
13881388
},
13891389
"result": {
1390-
"errorContains": "Cannot encrypt element of type array"
1390+
"errorContains": "Cannot encrypt element of type"
13911391
}
13921392
}
13931393
]

driver-core/src/test/resources/client-side-encryption/types.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@
540540
}
541541
},
542542
"result": {
543-
"errorContains": "Cannot use deterministic encryption for element of type: double"
543+
"errorContains": "element of type: double"
544544
}
545545
}
546546
]
@@ -587,7 +587,7 @@
587587
}
588588
},
589589
"result": {
590-
"errorContains": "Cannot use deterministic encryption for element of type: decimal"
590+
"errorContains": "element of type: decimal"
591591
}
592592
}
593593
]
@@ -943,7 +943,7 @@
943943
}
944944
},
945945
"result": {
946-
"errorContains": "Cannot use deterministic encryption for element of type: javascriptWithScope"
946+
"errorContains": "element of type: javascriptWithScope"
947947
}
948948
}
949949
]
@@ -988,7 +988,7 @@
988988
}
989989
},
990990
"result": {
991-
"errorContains": "Cannot use deterministic encryption for element of type: object"
991+
"errorContains": "element of type: object"
992992
}
993993
}
994994
]
@@ -1643,7 +1643,7 @@
16431643
}
16441644
},
16451645
"result": {
1646-
"errorContains": "Cannot use deterministic encryption for element of type: array"
1646+
"errorContains": "element of type: array"
16471647
}
16481648
}
16491649
]
@@ -1688,7 +1688,7 @@
16881688
}
16891689
},
16901690
"result": {
1691-
"errorContains": "Cannot use deterministic encryption for element of type: bool"
1691+
"errorContains": "element of type: bool"
16921692
}
16931693
}
16941694
]

0 commit comments

Comments
 (0)