Removed annotation reader constructor argument (incorrect argument used)
This commit is contained in:
parent
0af9ee0140
commit
224ac9725e
@ -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