diff --git a/tests/Tests/ORM/Tools/SchemaValidatorTest.php b/tests/Tests/ORM/Tools/SchemaValidatorTest.php index 82f7e2cd30..a153e4e77b 100644 --- a/tests/Tests/ORM/Tools/SchemaValidatorTest.php +++ b/tests/Tests/ORM/Tools/SchemaValidatorTest.php @@ -238,11 +238,7 @@ public function testBigintMappedToStringInt(): void $class = $this->em->getClassMetadata(BigintMappedToStringInt::class); $ce = $this->validator->validateClass($class); - if (method_exists(BigIntType::class, 'getName')) { // DBAL 3 - $this->assertEquals([], $ce); - } else { // DBAL 4+ - $this->assertEquals([], $ce); - } + $this->assertEquals([], $ce); // Same for DBAL 3 and 4+ } public function testBigintMappedToInt(): void