Skip to content

Commit

Permalink
Remove explicit annotation registration after it was merged into OrmT…
Browse files Browse the repository at this point in the history
…estCase
  • Loading branch information
velovint committed Nov 28, 2011
1 parent e2953c8 commit 6bcfaed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php
Expand Up @@ -4,7 +4,6 @@

use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Events;
use Doctrine\Common\Annotations\AnnotationRegistry;

require_once __DIR__ . '/../../TestInit.php';

Expand Down Expand Up @@ -115,8 +114,6 @@ protected function _loadDriverForCMSModels()

protected function _loadDriver()
{
AnnotationRegistry::registerFile(__DIR__ .
'/../../../../../lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php');
return $this->createAnnotationDriver();
}

Expand Down
2 changes: 0 additions & 2 deletions tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php
Expand Up @@ -105,8 +105,6 @@ public function testGetMetadataFor_ThrowsExceptionOnMissingCustomGeneratorDefini
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/'));

Expand Down

0 comments on commit 6bcfaed

Please sign in to comment.