1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Removed annotation reader constructor argument (incorrect argument used)

This commit is contained in:
Marco Pivetta 2016-06-06 01:34:20 +02:00
parent 0af9ee0140
commit 224ac9725e

View File

@ -16,7 +16,7 @@ class AnnotationDriverTest extends AbstractMappingDriverTest
{ {
$cm = new ClassMetadata('stdClass'); $cm = new ClassMetadata('stdClass');
$cm->initializeReflection(new \Doctrine\Common\Persistence\Mapping\RuntimeReflectionService); $cm->initializeReflection(new \Doctrine\Common\Persistence\Mapping\RuntimeReflectionService);
$reader = new \Doctrine\Common\Annotations\AnnotationReader(new \Doctrine\Common\Cache\ArrayCache()); $reader = new \Doctrine\Common\Annotations\AnnotationReader();
$annotationDriver = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($reader); $annotationDriver = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($reader);
$this->setExpectedException('Doctrine\ORM\Mapping\MappingException'); $this->setExpectedException('Doctrine\ORM\Mapping\MappingException');