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

Merge pull request #5686 from mbeccati/build-fix

Fixed test failing due to changes in AnnotationReader
This commit is contained in:
Marco Pivetta 2016-03-04 19:37:47 +01:00
commit c1943624ab

View File

@ -16,7 +16,7 @@ class AnnotationDriverTest extends AbstractMappingDriverTest
{
$cm = new ClassMetadata('stdClass');
$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);
$this->setExpectedException('Doctrine\ORM\Mapping\MappingException');