diff --git a/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php b/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php index a980a13db..51270f73f 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php @@ -4,7 +4,6 @@ namespace Doctrine\Tests\ORM\Mapping; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Events; -use Doctrine\Common\Annotations\AnnotationRegistry; require_once __DIR__ . '/../../TestInit.php'; @@ -115,8 +114,6 @@ class AnnotationDriverTest extends AbstractMappingDriverTest protected function _loadDriver() { - AnnotationRegistry::registerFile(__DIR__ . - '/../../../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); return $this->createAnnotationDriver(); } diff --git a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php index 6224121d0..2b21a5b59 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php @@ -105,8 +105,6 @@ class ClassMetadataFactoryTest extends \Doctrine\Tests\OrmTestCase public function testHasGetMetadata_NamespaceSeperatorIsNotNormalized() { require_once __DIR__."/../../Models/Global/GlobalNamespaceModel.php"; - AnnotationRegistry::registerFile(__DIR__ . - '/../../../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); $metadataDriver = $this->createAnnotationDriver(array(__DIR__ . '/../../Models/Global/'));