Implemented functions for optimizing source.html.twig

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

No files matched your search

@@ -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());
}
@@ -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());