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.
1 parent 60a96da commit ed03986Copy full SHA for ed03986
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