Refactored ActionManagement

This commit is contained in:
Kevin Frantz
2019-04-14 14:12:09 +02:00
parent 77896004b6
commit 131d6aa157
14 changed files with 1692 additions and 46 deletions

View File

@@ -3,7 +3,7 @@
namespace tests\Integration\Domain\ActionManagement;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Infinito\Domain\ActionManagement\ActionServiceInterface;
use Infinito\Domain\ActionManagement\ActionDAOServiceInterface;
use Doctrine\ORM\EntityManagerInterface;
/**
@@ -12,7 +12,7 @@ use Doctrine\ORM\EntityManagerInterface;
class ActionServiceIntegrationTest extends KernelTestCase
{
/**
* @var ActionServiceInterface
* @var ActionDAOServiceInterface
*/
private $actionService;
@@ -24,10 +24,10 @@ class ActionServiceIntegrationTest extends KernelTestCase
public function setUp(): void
{
self::bootKernel();
$this->actionService = self::$container->get(ActionServiceInterface::class);
$this->actionService = self::$container->get(ActionDAOServiceInterface::class);
}
public function testEnityManager(): void
public function testEntityManager(): void
{
$this->assertInstanceOf(EntityManagerInterface::class, $this->actionService->getEntityManager());
}