Skip to content

Commit 452bc0f

Browse files
PHPLIB-839: Update CSFLE spec tests for mongocryptd 6.0.0-alpha
Synced with mongodb/specifications@6a7158d
1 parent 9dd7886 commit 452bc0f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/SpecTests/client-side-encryption/tests/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
]

tests/SpecTests/client-side-encryption/tests/types.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
}
505505
},
506506
"result": {
507-
"errorContains": "Cannot use deterministic encryption for element of type: double"
507+
"errorContains": "element of type: double"
508508
}
509509
}
510510
]
@@ -551,7 +551,7 @@
551551
}
552552
},
553553
"result": {
554-
"errorContains": "Cannot use deterministic encryption for element of type: decimal"
554+
"errorContains": "element of type: decimal"
555555
}
556556
}
557557
]
@@ -883,7 +883,7 @@
883883
}
884884
},
885885
"result": {
886-
"errorContains": "Cannot use deterministic encryption for element of type: javascriptWithScope"
886+
"errorContains": "element of type: javascriptWithScope"
887887
}
888888
}
889889
]
@@ -928,7 +928,7 @@
928928
}
929929
},
930930
"result": {
931-
"errorContains": "Cannot use deterministic encryption for element of type: object"
931+
"errorContains": "element of type: object"
932932
}
933933
}
934934
]
@@ -1547,7 +1547,7 @@
15471547
}
15481548
},
15491549
"result": {
1550-
"errorContains": "Cannot use deterministic encryption for element of type: array"
1550+
"errorContains": "element of type: array"
15511551
}
15521552
}
15531553
]
@@ -1592,7 +1592,7 @@
15921592
}
15931593
},
15941594
"result": {
1595-
"errorContains": "Cannot use deterministic encryption for element of type: bool"
1595+
"errorContains": "element of type: bool"
15961596
}
15971597
}
15981598
]

0 commit comments

Comments
 (0)