Skip to content

Commit 71d3206

Browse files
committed
Fix Doctrine Connection service alias
1 parent bfc25c7 commit 71d3206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ public function _getEntityManager()
253253
if ($container->has('doctrine.orm.default_entity_manager')) {
254254
$this->persistPermanentService('doctrine.orm.default_entity_manager');
255255
}
256-
if ($container->has('doctrine.dbal.backend_connection')) {
257-
$this->persistPermanentService('doctrine.dbal.backend_connection');
256+
if ($container->has('doctrine.dbal.default_connection')) {
257+
$this->persistPermanentService('doctrine.dbal.default_connection');
258258
}
259259
}
260260
return $this->permanentServices[$emService];

0 commit comments

Comments
 (0)