From 0754c9e6ea3b7b29286e0a740cf893b53dc01075 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 9 Oct 2023 22:06:38 +0000 Subject: [PATCH] update --- .../Themes/Akebi/css/timerecording-small.css | 1 - .../Themes/Akebi/css/timerecording-small.scss | 1 - .../Application/Timerecording/login.tpl.php | 15 +-------------- tests/Controller/ApiControllerTest.php | 4 ++-- 4 files changed, 3 insertions(+), 18 deletions(-) diff --git a/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.css b/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.css index 6b79610..7562f51 100644 --- a/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.css +++ b/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.css @@ -46,7 +46,6 @@ max-width: 100%; overflow: hidden; font-family: var(--font-family); - font-display: swap; color: #000; } body { diff --git a/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.scss b/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.scss index c5f2f69..7252f9d 100644 --- a/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.scss +++ b/Admin/Install/Application/Timerecording/Themes/Akebi/css/timerecording-small.scss @@ -7,7 +7,6 @@ html, body { max-width: 100%; overflow: hidden; font-family: var(--font-family); - font-display: swap; color: #000; } diff --git a/Admin/Install/Application/Timerecording/login.tpl.php b/Admin/Install/Application/Timerecording/login.tpl.php index 57b52f5..6052fb7 100644 --- a/Admin/Install/Application/Timerecording/login.tpl.php +++ b/Admin/Install/Application/Timerecording/login.tpl.php @@ -88,23 +88,10 @@ $head = $this->head; } #login-logo img { - animation: pulse 1.5s ease infinite alternate; width: 20%; min-width: 200px; } - @keyframes pulse { - 0% { - width: 20%; - min-width: 200px; - } - - 30%, 100% { - width: 25%; - min-width: 210px; - } - } - h1 { text-shadow: 2px 2px 3px rgba(0,0,0,0.3); } @@ -244,7 +231,7 @@ $head = $this->head;
diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index a0172be..70f756c 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -125,7 +125,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->header->account = 1; $this->module->apiSessionCreate($request, $response); - self::assertGreaterThan(0, $sId = $response->get('')['response']->id); + self::assertGreaterThan(0, $sId = $response->getDataArray('')['response']->id); $response = new HttpResponse(); $request = new HttpRequest(new HttpUri('')); @@ -135,7 +135,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request->setData('status', ClockingStatus::END); $this->module->apiSessionElementCreate($request, $response); - self::assertGreaterThan(0, $response->get('')['response']->id); + self::assertGreaterThan(0, $response->getDataArray('')['response']->id); } /**