Commit 3f9d3b61 authored by dazz's avatar dazz Committed by Benjamin Eberlei

[DBAL-407] Added onNotSuccessfulTest for all cases where error detection is not specific enough

parent 05f1cfa3
......@@ -73,7 +73,12 @@ class ExceptionTest extends \Doctrine\Tests\DbalFunctionalTestCase
$this->setExpectedException('\Doctrine\DBAL\DBALException', null, DBALException::ERROR_FOREIGN_KEY_CONSTRAINT);
$this->_conn->delete('constraint_error_table', array('id' => 1));
}
protected function onNotSuccessfulTest(\Exception $e)
{
var_dump($e);
parent::onNotSuccessfulTest($e);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment