From befdd0146b1d760ca0ac275598e1037539518dc7 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 20 Nov 2024 16:04:30 +0100 Subject: [PATCH] Try --- tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php b/tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php index 3d9cae57..03e5ed12 100644 --- a/tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php +++ b/tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php @@ -4757,7 +4757,7 @@ private function assertInferredResultMatchesExpected( $inferredFirstItemType = $inferredType->getFirstIterableValueType(); self::assertTrue( - $inferredFirstItemType->equals($expectedFirstItemType), + $expectedFirstItemType->accepts($inferredFirstItemType, true)->yes(), sprintf( "Mismatch between inferred result and expected type\n\nDriver: %s\nConfig: %s\nDataset: %s\nDQL: %s\nSQL: %s\nPHP: %s\nReal first result: %s\nFirst item inferred as: %s\nFirst item expected type: %s\n", $driver,