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 f7eeec3 + ed03986 commit dfa8eddCopy full SHA for dfa8edd
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