Commit 0fd81ad6 authored by Marco Pivetta's avatar Marco Pivetta

#2287 removing exception that was incorrectly cherry-picked into 2.5

parent 6096f0ab
......@@ -13,14 +13,6 @@ class DBALExceptionTest extends \Doctrine\Tests\DbalTestCase
$this->assertContains('with params ["ABC", "\x80"]', $e->getMessage());
}
public function testAvoidOverWrappingOnDriverException()
{
$driver = $this->createMock('\Doctrine\DBAL\Driver');
$ex = new DriverException('', $this->createMock('\Doctrine\DBAL\Driver\DriverException'));
$e = DBALException::driverExceptionDuringQuery($driver, $ex, '');
$this->assertSame($ex, $e);
}
public function testDriverRequiredWithUrl()
{
$url = 'mysql://localhost';
......
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