mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Renamed SecureRequestedRightChecker and implemented integration tests for it
This commit is contained in:
@@ -23,7 +23,7 @@ use App\Domain\RequestManagement\Entity\RequestedEntityService;
|
||||
use App\Entity\Source\PureSource;
|
||||
use App\Attribut\ClassAttributInterface;
|
||||
use App\Domain\RepositoryManagement\LayerRepositoryFactoryService;
|
||||
use App\Domain\SecureManagement\SecureRequestedRightChecker;
|
||||
use App\Domain\SecureManagement\SecureRequestedRightCheckerService;
|
||||
use App\Domain\RightManagement\RightTransformerService;
|
||||
|
||||
/**
|
||||
@@ -79,7 +79,7 @@ class CreateSourceActionIntegrationTest extends KernelTestCase
|
||||
$this->requestStack->push($this->request);
|
||||
$layerRepositoryFactoryService = new LayerRepositoryFactoryService($entityManager);
|
||||
$rightTransformerService = new RightTransformerService();
|
||||
$secureRequestedRightChecker = new SecureRequestedRightChecker($rightTransformerService);
|
||||
$secureRequestedRightChecker = new SecureRequestedRightCheckerService($rightTransformerService);
|
||||
$this->actionService = new ActionService($this->requestedActionService, $secureRequestedRightChecker, $this->requestStack, $layerRepositoryFactoryService, $entityFormBuilderService, $entityManager);
|
||||
$this->createSourceAction = new CreateSourceAction($this->actionService);
|
||||
}
|
||||
|
Reference in New Issue
Block a user