Merge pull request #200 from velovint/StandaloneTestsFailing
Register DoctrineAnnotations on call to OrmTestCase::createAnnotationDri...
This commit is contained in:
commit
2b7360e738
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user