mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Expanded rights to also manage actions instead of just a cruds
This commit is contained in:
@@ -30,7 +30,7 @@ class RequestedRightServiceIntegrationTest extends KernelTestCase
|
||||
public function testClassAccessors(): void
|
||||
{
|
||||
$crud = CRUDType::READ;
|
||||
$this->assertNull($this->requestedRightService->setCrud($crud));
|
||||
$this->assertEquals($crud, $this->requestedRightService->getCrud());
|
||||
$this->assertNull($this->requestedRightService->setActionType($crud));
|
||||
$this->assertEquals($crud, $this->requestedRightService->getActionType());
|
||||
}
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ class RequestedUserServiceIntegrationTest extends KernelTestCase
|
||||
public function testCrudAccessors(): void
|
||||
{
|
||||
$crud = CRUDType::READ;
|
||||
$this->assertNull($this->requestedUserService->setCrud($crud));
|
||||
$this->assertEquals($crud, $this->requestedUserService->getCrud());
|
||||
$this->assertNull($this->requestedUserService->setActionType($crud));
|
||||
$this->assertEquals($crud, $this->requestedUserService->getActionType());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user