File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/Symfony/Tests/Bridge/Doctrine/DataCollector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,14 @@ public function paramProvider()
113
113
114
114
private function createCollector ($ queries )
115
115
{
116
- $ registry = $ this ->getMock ('Doctrine\Common\Persistence\ManagerRegistry ' );
116
+ $ registry = $ this ->getMock ('Symfony\Bridge\Doctrine\RegistryInterface ' );
117
117
$ registry
118
- ->expects ($ this ->once ())
118
+ ->expects ($ this ->any ())
119
119
->method ('getConnectionNames ' )
120
120
->will ($ this ->returnValue (array ('default ' => 'doctrine.dbal.default_connection ' )));
121
121
$ registry
122
- ->expects ($ this ->once ())
123
- ->method ('getManagerNames ' )
122
+ ->expects ($ this ->any ())
123
+ ->method ('getEntityManagerNames ' )
124
124
->will ($ this ->returnValue (array ('default ' => 'doctrine.orm.default_entity_manager ' )));
125
125
126
126
$ logger = $ this ->getMock ('Symfony\Bridge\Doctrine\Logger\DbalLogger ' );
You can’t perform that action at this time.
0 commit comments