8000 Fixed vendor version mismatch in tests · symfony/symfony@4fe4dfd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fe4dfd

Browse files
committed
Fixed vendor version mismatch in tests
1 parent 28730e9 commit 4fe4dfd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Symfony/Tests/Bridge/Doctrine/DataCollector/DoctrineDataCollectorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ public function paramProvider()
113113

114114
private function createCollector($queries)
115115
{
116-
$registry = $this->getMock('Doctrine\Common\Persistence\ManagerRegistry');
116+
$registry = $this->getMock('Symfony\Bridge\Doctrine\RegistryInterface');
117117
$registry
118-
->expects($this->once())
118+
->expects($this->any())
119119
->method('getConnectionNames')
120120
->will($this->returnValue(array('default' => 'doctrine.dbal.default_connection')));
121121
$registry
122-
->expects($this->once())
123-
->method('getManagerNames')
122+
->expects($this->any())
123+
->method('getEntityManagerNames')
124124
->will($this->returnValue(array('default' => 'doctrine.orm.default_entity_manager')));
125125

126126
$logger = $this->getMock('Symfony\Bridge\Doctrine\Logger\DbalLogger');

0 commit comments

Comments
 (0)
0