From 83dc11c284e4d5c36628f8f8c306cf9943d545f6 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Wed, 20 Jul 2022 08:15:48 +0200 Subject: [PATCH] Remove test We were testing the annotation instantiation which is done by doctrine/annotations package. --- .../Mapping/Annotations/ValidationTest.php | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 tests/Doctrine/ODM/MongoDB/Tests/Mapping/Annotations/ValidationTest.php diff --git a/tests/Doctrine/ODM/MongoDB/Tests/Mapping/Annotations/ValidationTest.php b/tests/Doctrine/ODM/MongoDB/Tests/Mapping/Annotations/ValidationTest.php deleted file mode 100644 index 95db763308..0000000000 --- a/tests/Doctrine/ODM/MongoDB/Tests/Mapping/Annotations/ValidationTest.php +++ /dev/null @@ -1,23 +0,0 @@ -expectException(TypeError::class); - $this->dm->getClassMetadata(WrongTypeForValidationValidator::class); - } -} - -/** @ODM\Validation(validator={"wrong"}) */ -class WrongTypeForValidationValidator -{ -}