Commit 1df1c74a authored by Steve Müller's avatar Steve Müller Committed by Marco Pivetta

fix mocking PDO

parent 1941f068
......@@ -142,9 +142,7 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
public function databaseUrls()
{
$pdoMock = $this->getMockBuilder('PDO')
->disableOriginalConstructor()
->getMock();
$pdoMock = $this->getMock('Doctrine\Tests\Mocks\PDOMock');
return array(
'simple URL' => array(
......
<?php
namespace Doctrine\Tests\Mocks;
class PDOMock extends \PDO
{
public function __construct()
{
}
}
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