Commit 68f1045d authored by dazz's avatar dazz Committed by Benjamin Eberlei

[DBAL-407] Removed dumping of exception on skipped tests

parent bb873455
...@@ -3,8 +3,6 @@ namespace Doctrine\Tests\DBAL\Functional; ...@@ -3,8 +3,6 @@ namespace Doctrine\Tests\DBAL\Functional;
use Doctrine\DBAL\DBALException; use Doctrine\DBAL\DBALException;
require_once __DIR__ . '/../../TestInit.php';
class ExceptionTest extends \Doctrine\Tests\DbalFunctionalTestCase class ExceptionTest extends \Doctrine\Tests\DbalFunctionalTestCase
{ {
public function testDuplicateKeyException() public function testDuplicateKeyException()
...@@ -94,8 +92,11 @@ class ExceptionTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -94,8 +92,11 @@ class ExceptionTest extends \Doctrine\Tests\DbalFunctionalTestCase
protected function onNotSuccessfulTest(\Exception $e) protected function onNotSuccessfulTest(\Exception $e)
{ {
var_dump($e);
parent::onNotSuccessfulTest($e); parent::onNotSuccessfulTest($e);
if ("PHPUnit_Framework_SkippedTestError" == get_class($e)) {
return;
}
var_dump($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