We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ecbcafc + ca55e1f commit 2c77039Copy full SHA for 2c77039
Tests/Validator/DoctrineLoaderTest.php
@@ -162,7 +162,8 @@ public function testExtractEnum()
162
163
$validator = Validation::createValidatorBuilder()
164
->addMethodMapping('loadValidatorMetadata')
165
- ->enableAnnotationMapping()
+ ->enableAnnotationMapping(true)
166
+ ->addDefaultDoctrineAnnotationReader()
167
->addLoader(new DoctrineLoader(DoctrineTestHelper::createTestEntityManager(), '{^Symfony\\\\Bridge\\\\Doctrine\\\\Tests\\\\Fixtures\\\\DoctrineLoader}'))
168
->getValidator()
169
;
0 commit comments