8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 331765b + e828253 commit 9393c5dCopy full SHA for 9393c5d
src/Symfony/Bundle/FrameworkBundle/Tests/Controller/AbstractControllerTest.php
@@ -532,7 +532,7 @@ public function testCreateFormBuilder()
532
533
public function testGetDoctrine()
534
{
535
- $doctrine = $this->getMockBuilder(interface_exists(ManagerRegistry::class) ? ManagerRegistry::class : LegacyManagerRegistry::class)->getMock();
+ $doctrine = $this->getMockBuilder('Doctrine\Persistence\ManagerRegistry')->getMock();
536
537
$container = new Container();
538
$container->set('doctrine', $doctrine);
0 commit comments