mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Refactored ActionManagement
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user