Permalink
Browse files

Refix test

  • Loading branch information...
1 parent e128728 commit 622ddd8d05a280937fd5e20b3250965dad2b0a56 @beberlei beberlei committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Doctrine/Tests/ORM/Mapping/BasicInheritanceMappingTest.php
@@ -115,7 +115,7 @@ public function testUnmappedSuperclassInHierarchy()
*/
public function testUnmappedEntityInHierarchy()
{
- $this->setExpectedException('Doctrine\ORM\Mapping\MappingException', "Entity 'Doctrine\Tests\ORM\Mapping\HierachyBEntity' has to be part of the discriminator map of 'Doctrine\Tests\ORM\Mapping\HierachyBase' to be properly mapped in the inheritance hierachy. Alternatively you can make 'Doctrine\Tests\ORM\Mapping\HierachyBEntity' an abstract class to avoid this exception from occuring.");
+ $this->setExpectedException('Doctrine\ORM\Mapping\MappingException', "Entity 'Doctrine\Tests\ORM\Mapping\HierarchyBEntity' has to be part of the discriminator map of 'Doctrine\Tests\ORM\Mapping\HierarchyBase' to be properly mapped in the inheritance hierarchy. Alternatively you can make 'Doctrine\Tests\ORM\Mapping\HierarchyBEntity' an abstract class to avoid this exception from occurring.");
$class = $this->_factory->getMetadataFor(__NAMESPACE__ . '\\HierarchyE');
}

0 comments on commit 622ddd8

Please sign in to comment.