diff --git a/tests/Model/CodecCursorFunctionalTest.php b/tests/Model/CodecCursorFunctionalTest.php index 48fd2cb59..432d71732 100644 --- a/tests/Model/CodecCursorFunctionalTest.php +++ b/tests/Model/CodecCursorFunctionalTest.php @@ -55,15 +55,12 @@ function (...$args) use (&$previousErrorHandler, &$deprecations) { E_USER_DEPRECATED | E_DEPRECATED, ); - $cursorId = $codecCursor->getId(true); + $cursorId = $codecCursor->getId(); } finally { restore_error_handler(); } - self::logicalOr( - self::isInstanceOf(Int64::class), - self::isInstanceOf(CursorId::class), - )->matches($cursorId); + self::assertInstanceOf(CursorId::class, $cursorId); // Expect 2 deprecations: 1 from CodecCursor, one from Cursor self::assertCount(2, $deprecations);