Skip to content

Commit 2a9f2f0

Browse files
authored
PHPLIB-810: Temporarily skip stable API count test for server 6.0+ (#918)
This test expects an exception executing count via the stable API; however, 6.0.0-rc0 added count to the stable API so an exception is no longer raised. Driver changes are not yet specified but we can skip this test in the meantime.
1 parent c1ecab9 commit 2a9f2f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/DocumentationExamplesTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,10 @@ public function testVersionedApiMigration(): void
17231723
$this->markTestSkipped('Versioned API is not supported');
17241724
}
17251725

1726+
if (version_compare($this->getServerVersion(), '5.9', '>=')) {
1727+
$this->markTestIncomplete('SERVER-63850 added count command to API version 1 in MongoDB 6.0.0-rc0 (see: PHPLIB-810)');
1728+
}
1729+
17261730
$uriString = static::getUri(true);
17271731

17281732
// phpcs:disable SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly

0 commit comments

Comments
 (0)