1
0
mirror of synced 2025-02-20 06:03:15 +03:00

Fixing test expecting a ORM\Mapping exception

Those exceptions are now in the Common\Persistence\Mapping namespace
This commit is contained in:
Marco Pivetta 2012-04-07 19:34:04 +02:00
parent 63fbf7c2e5
commit 943cff673a

View File

@ -87,7 +87,7 @@ class XmlMappingDriverTest extends AbstractMappingDriverTest
/**
* @group DDC-889
* @expectedException Doctrine\ORM\Mapping\MappingException
* @expectedException Doctrine\Common\Persistence\Mapping\MappingException
* @expectedExceptionMessage Invalid mapping file 'Doctrine.Tests.Models.DDC889.DDC889Class.dcm.xml' for class 'Doctrine\Tests\Models\DDC889\DDC889Class'.
*/
public function testinvalidEntityOrMappedSuperClassShouldMentionParentClasses()