Skip to content

Commit 8756ac2

Browse files
committed
test doctrine console
1 parent 8606a0a commit 8756ac2

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

spec/Integration/IntegrationViaErrorPreviewConsoleCommandSpec.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec\Integration;
44

55
use ErrorHeroModule\Command\Preview\ErrorPreviewConsoleCommand;
6-
use Laminas\Console\Request;
76
use Laminas\Db\Adapter\AdapterInterface;
87
use Laminas\Db\ResultSet\ResultSet;
98
use Laminas\Db\TableGateway\TableGateway;
@@ -27,7 +26,6 @@
2726
],
2827
],
2928
]);
30-
$application->getMvcEvent()->setRequest(new Request());
3129

3230
$serviceManager = $application->getServiceManager();
3331
$db = $serviceManager->get(AdapterInterface::class);

spec/Integration/IntegrationViaErrorPreviewConsoleCommandWithDoctrineORMModuleSpec.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
use Doctrine\ORM\EntityManager;
66
use ErrorHeroModule\Command\Preview\ErrorPreviewConsoleCommand;
7-
use Laminas\Console\Request;
8-
use Laminas\Db\Adapter\AdapterInterface;
9-
use Laminas\Db\ResultSet\ResultSet;
10-
use Laminas\Db\TableGateway\TableGateway;
117
use Laminas\Mvc\Application;
128
use Symfony\Component\Console\Tester\CommandTester;
139

@@ -29,7 +25,6 @@
2925
],
3026
],
3127
]);
32-
$application->getMvcEvent()->setRequest(new Request());
3328

3429
$serviceManager = $application->getServiceManager();
3530
$entityManager = $serviceManager->get(EntityManager::class);

0 commit comments

Comments
 (0)