Commit ae6522cc authored by Marco Pivetta's avatar Marco Pivetta

Correcting PHPUnit 4.x compat in `onNotSuccessfulTest`

parent eb0a49c2
...@@ -47,7 +47,7 @@ class DbalFunctionalTestCase extends DbalTestCase ...@@ -47,7 +47,7 @@ class DbalFunctionalTestCase extends DbalTestCase
} }
} }
protected function onNotSuccessfulTest($e) protected function onNotSuccessfulTest(\Exception $e)
{ {
if ($e instanceof \PHPUnit_Framework_AssertionFailedError) { if ($e instanceof \PHPUnit_Framework_AssertionFailedError) {
throw $e; throw $e;
......
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