Skip to content

Commit 3ff9b8d

Browse files
committed
Add invalid constructor for maxTimeMS to CreateIndexesTest
1 parent d780a72 commit 3ff9b8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Operation/CreateIndexesTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public function provideInvalidConstructorOptions()
2828
{
2929
$options = [];
3030

31+
foreach ($this->getInvalidIntegerValues() as $value) {
32+
$options[][] = ['maxTimeMS' => $value];
33+
}
34+
3135
foreach ($this->getInvalidWriteConcernValues() as $value) {
3236
$options[][] = ['writeConcern' => $value];
3337
}

0 commit comments

Comments
 (0)