From 224ac9725ea1629f4fed485f3996fc844015edcf Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Mon, 6 Jun 2016 01:34:20 +0200 Subject: [PATCH] Removed annotation reader constructor argument (incorrect argument used) --- tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php b/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php index 927755f99..e95dc7bff 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php @@ -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');