Removing eager assertion on error suppression when generating schema via tools
This commit is contained in:
parent
6af3236ba6
commit
e263426cdf
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\Tests\ORM\Functional\Ticket;
|
||||
use Doctrine\ORM\Tools\ToolsException;
|
||||
|
||||
/**
|
||||
* @group DDC-2862
|
||||
@ -18,8 +19,7 @@ class DDC2862Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
$this->_em->getClassMetadata(DDC2862User::CLASSNAME),
|
||||
$this->_em->getClassMetadata(DDC2862Driver::CLASSNAME),
|
||||
));
|
||||
} catch (\Doctrine\ORM\Tools\ToolsException $exc) {
|
||||
$this->assertInstanceOf('Doctrine\DBAL\Exception\TableExistsException', $exc->getPrevious());
|
||||
} catch (ToolsException $exc) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user