diff --git a/tests/Doctrine/Tests/OrmTestCase.php b/tests/Doctrine/Tests/OrmTestCase.php index fa9938d09..2a7b37dc9 100644 --- a/tests/Doctrine/Tests/OrmTestCase.php +++ b/tests/Doctrine/Tests/OrmTestCase.php @@ -52,6 +52,8 @@ abstract class OrmTestCase extends DoctrineTestCase $reader->setDefaultAnnotationNamespace('Doctrine\ORM\Mapping\\'); } } + \Doctrine\Common\Annotations\AnnotationRegistry::registerFile( + __DIR__ . "/../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php"); return new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($reader, (array)$paths); }