Skip to content

Commit a84ab8a

Browse files
committed
Skip incomplete change stream test
1 parent 09e479f commit a84ab8a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/SpecTests/ChangeStreamsSpecTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
*/
1919
class ChangeStreamsSpecTest extends FunctionalTestCase
2020
{
21+
private static $incompleteTests = [
22+
'change-streams-errors: Change Stream should error when _id is projected out' => 'PHPC-1419',
23+
];
24+
2125
/**
2226
* Assert that the expected and actual command documents match.
2327
*
@@ -66,6 +70,10 @@ public static function assertResult(array $expectedDocuments, array $actualDocum
6670
*/
6771
public function testChangeStreams(stdClass $test, $databaseName = null, $collectionName = null, $database2Name = null, $collection2Name = null)
6872
{
73+
if (isset(self::$incompleteTests[$this->dataDescription()])) {
74+
$this->markTestIncomplete(self::$incompleteTests[$this->dataDescription()]);
75+
}
76+
6977
$this->checkServerRequirements($this->createRunOn($test));
7078

7179
if (!isset($databaseName, $collectionName, $database2Name, $collection2Name)) {

0 commit comments

Comments
 (0)