Skip to content

Commit b5f5216

Browse files
committed
Rename WriteConcernError tests
1 parent fe9fb63 commit b5f5216

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

tests/replicaset/writeconcernerror-0001.phpt renamed to tests/replicaset/writeconcernerror-002.phpt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ try {
2323
$retval = $manager->executeBulkWrite(NS, $bulk, $w);
2424
} catch(MongoDB\Driver\Exception\BulkWriteException $e) {
2525
printWriteResult($e->getWriteResult(), false);
26-
$e->getWriteResult(true);
2726
}
2827
?>
2928
===DONE===
@@ -36,6 +35,4 @@ modifiedCount: 1
3635
upsertedCount: 0
3736
deletedCount: 1
3837
writeConcernError: %s (%d)
39-
40-
Warning: MongoDB\Driver\Exception\WriteException::getWriteResult() expects exactly 0 parameters, 1 given in %s on line %d
4138
===DONE===

0 commit comments

Comments
 (0)