1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Remove explicit annotation registration after it was merged into OrmTestCase

This commit is contained in:
Vitali Yakavenka 2011-11-26 19:14:47 +01:00
parent e2953c8cd4
commit 6bcfaed640
2 changed files with 0 additions and 5 deletions

View File

@ -4,7 +4,6 @@ namespace Doctrine\Tests\ORM\Mapping;
use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Events; use Doctrine\ORM\Events;
use Doctrine\Common\Annotations\AnnotationRegistry;
require_once __DIR__ . '/../../TestInit.php'; require_once __DIR__ . '/../../TestInit.php';
@ -115,8 +114,6 @@ class AnnotationDriverTest extends AbstractMappingDriverTest
protected function _loadDriver() protected function _loadDriver()
{ {
AnnotationRegistry::registerFile(__DIR__ .
'/../../../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php');
return $this->createAnnotationDriver(); return $this->createAnnotationDriver();
} }

View File

@ -105,8 +105,6 @@ class ClassMetadataFactoryTest extends \Doctrine\Tests\OrmTestCase
public function testHasGetMetadata_NamespaceSeperatorIsNotNormalized() public function testHasGetMetadata_NamespaceSeperatorIsNotNormalized()
{ {
require_once __DIR__."/../../Models/Global/GlobalNamespaceModel.php"; require_once __DIR__."/../../Models/Global/GlobalNamespaceModel.php";
AnnotationRegistry::registerFile(__DIR__ .
'/../../../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php');
$metadataDriver = $this->createAnnotationDriver(array(__DIR__ . '/../../Models/Global/')); $metadataDriver = $this->createAnnotationDriver(array(__DIR__ . '/../../Models/Global/'));