diff --git a/tests/Doctrine/Tests/ORM/Tools/SchemaValidatorTest.php b/tests/Doctrine/Tests/ORM/Tools/SchemaValidatorTest.php index 5bd224d651c..cbe8738c746 100644 --- a/tests/Doctrine/Tests/ORM/Tools/SchemaValidatorTest.php +++ b/tests/Doctrine/Tests/ORM/Tools/SchemaValidatorTest.php @@ -205,7 +205,7 @@ public function testInvalidAssociationInsideEmbeddable(): void */ public function testMappedSuperclassNotPresentInDiscriminator(): void { - $class1 = $this->em->getClassMetadata(MappedSuperclass::class); + $class1 = $this->em->getClassMetadata(MappedSuperclassEntity::class); $ce = $this->validator->validateClass($class1); $this->assertEquals([], $ce); @@ -213,9 +213,9 @@ public function testMappedSuperclassNotPresentInDiscriminator(): void } /** - * @MappedSuperClass + * @MappedSuperclass */ -abstract class MappedSuperclass extends ParentEntity +abstract class MappedSuperclassEntity extends ParentEntity { } @@ -237,7 +237,7 @@ abstract class ParentEntity /** * @Entity */ -class ChildEntity extends MappedSuperclass +class ChildEntity extends MappedSuperclassEntity { }