Skip to content

Commit 9831441

Browse files
author
levon80999
committed
Add check for replica set
1 parent 7558889 commit 9831441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Operation/FindAndModifyFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testHintOptionAndUnacknowledgedWriteConcernUnsupportedClientSide
9696
public function testFindAndModifyReportedWriteConcernError(): void
9797
{
9898
if (($this->isShardedCluster() && !$this->isShardedClusterUsingReplicasets()) || !$this->isReplicaSet()) {
99-
$this->markTestSkipped(sprintf('Cannot find topology for primary of type "%d".', $this->getPrimaryServer()->getType()));
99+
$this->markTestSkipped('Test only applies to replica sets');
100100
}
101101

102102
$this->expectException(CommandException::class);

0 commit comments

Comments
 (0)