We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f1188 commit 356b89cCopy full SHA for 356b89c
tests/Operation/FindAndModifyFunctionalTest.php
@@ -100,7 +100,7 @@ public function testFindAndModifyReportedWriteConcernError(): void
100
}
101
102
$this->expectException(CommandException::class);
103
- $this->expectExceptionCode(100);
+ $this->expectExceptionCode(100 /* UnsatisfiableWriteConcern */);
104
$this->expectExceptionMessageMatches('/Write Concern error:/');
105
106
$operation = new FindAndModify(
0 commit comments