Implemented functions for optimizing source.html.twig

This commit is contained in:
Kevin Frantz
2019-02-18 21:09:57 +01:00
parent d99c05908b
commit a117d16429
14 changed files with 101 additions and 79 deletions

View File

@@ -30,7 +30,7 @@ class RequestedActionServiceIntegrationTest extends KernelTestCase
public function testActionAccessors(): void
{
$actionType = ActionType::THREAD;
$actionType = ActionType::EXECUTE;
$this->assertNull($this->requestedActionService->setActionType($actionType));
$this->assertEquals($actionType, $this->requestedActionService->getActionType());
}

View File

@@ -49,7 +49,7 @@ class RequestedActionTest extends TestCase
public function testList(): void
{
$list = ActionType::THREAD;
$list = ActionType::EXECUTE;
$this->action->setActionType($list);
$this->assertEquals($list, $this->action->getActionType());
$this->assertEquals(CRUDType::READ, $this->requestedRight->getCrud());