Fixed vendor version mismatch in tests
This commit is contained in:
parent
28730e9149
commit
4fe4dfd116
@ -113,14 +113,14 @@ class DoctrineDataCollectorTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
private function createCollector($queries)
|
||||
{
|
||||
$registry = $this->getMock('Doctrine\Common\Persistence\ManagerRegistry');
|
||||
$registry = $this->getMock('Symfony\Bridge\Doctrine\RegistryInterface');
|
||||
$registry
|
||||
->expects($this->once())
|
||||
->expects($this->any())
|
||||
->method('getConnectionNames')
|
||||
->will($this->returnValue(array('default' => 'doctrine.dbal.default_connection')));
|
||||
$registry
|
||||
->expects($this->once())
|
||||
->method('getManagerNames')
|
||||
->expects($this->any())
|
||||
->method('getEntityManagerNames')
|
||||
->will($this->returnValue(array('default' => 'doctrine.orm.default_entity_manager')));
|
||||
|
||||
$logger = $this->getMock('Symfony\Bridge\Doctrine\Logger\DbalLogger');
|
||||
|
Reference in New Issue
Block a user