Skip to content

Commit 2c77039

Browse files
Merge branch '5.4' into 6.0
* 5.4: - - Fix merge
2 parents ecbcafc + ca55e1f commit 2c77039

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Validator/DoctrineLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ public function testExtractEnum()
162162

163163
$validator = Validation::createValidatorBuilder()
164164
->addMethodMapping('loadValidatorMetadata')
165-
->enableAnnotationMapping()
165+
->enableAnnotationMapping(true)
166+
->addDefaultDoctrineAnnotationReader()
166167
->addLoader(new DoctrineLoader(DoctrineTestHelper::createTestEntityManager(), '{^Symfony\\\\Bridge\\\\Doctrine\\\\Tests\\\\Fixtures\\\\DoctrineLoader}'))
167168
->getValidator()
168169
;

0 commit comments

Comments
 (0)