Skip to content

Commit 8b2a763

Browse files
committed
Skip test failing due to PHPUnit deprecations
1 parent 57949f1 commit 8b2a763

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/Model/CodecCursorFunctionalTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
use MongoDB\Model\CodecCursor;
99
use MongoDB\Tests\FunctionalTestCase;
1010

11+
use function phpversion;
1112
use function restore_error_handler;
1213
use function set_error_handler;
14+
use function version_compare;
1315

1416
use const E_DEPRECATED;
1517
use const E_USER_DEPRECATED;
@@ -25,6 +27,10 @@ public function setUp(): void
2527

2628
public function testSetTypeMap(): void
2729
{
30+
if (version_compare(phpversion(), '8.4', '>=')) {
31+
$this->markTestIncomplete('Test fails on PHP 8.4 due to deprecations');
32+
}
33+
2834
$collection = self::createTestClient()->selectCollection($this->getDatabaseName(), $this->getCollectionName());
2935
$cursor = $collection->find();
3036

0 commit comments

Comments
 (0)