Skip to content

Commit b566bca

Browse files
authored
PHPLIB-810: Update version check for stable API count test (#950)
MongoDB 6.0 added the count command to API version 1 and that change was later backported to 5.0.9 and 5.3.2.
1 parent 225dd31 commit b566bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DocumentationExamplesTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1726,8 +1726,8 @@ public function testVersionedApiMigration(): void
17261726
$this->markTestSkipped('Versioned API is not supported');
17271727
}
17281728

1729-
if (version_compare($this->getServerVersion(), '5.9', '>=')) {
1730-
$this->markTestIncomplete('SERVER-63850 added count command to API version 1 in MongoDB 6.0.0-rc0 (see: PHPLIB-810)');
1729+
if (version_compare($this->getServerVersion(), '5.0.9', '>=')) {
1730+
$this->markTestSkipped('The count command was added to API version 1 (SERVER-63850)');
17311731
}
17321732

17331733
$uriString = static::getUri(true);

0 commit comments

Comments
 (0)