Removed annotation reader constructor argument (incorrect argument used)
This commit is contained in:
parent
0af9ee0140
commit
224ac9725e
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue