Merge pull request #5686 from mbeccati/build-fix
Fixed test failing due to changes in AnnotationReader
This commit is contained in:
commit
c1943624ab
@ -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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user