From cc9b4a87247d480e6cb5d9b72c1d0fd7d89794c6 Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Thu, 23 Jan 2020 18:01:51 +0100 Subject: [PATCH] Fix TU --- test/unitTests/app/history/HistoryControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unitTests/app/history/HistoryControllerTest.php b/test/unitTests/app/history/HistoryControllerTest.php index e0e0f72ba30..723204fc865 100755 --- a/test/unitTests/app/history/HistoryControllerTest.php +++ b/test/unitTests/app/history/HistoryControllerTest.php @@ -36,7 +36,7 @@ class HistoryControllerTest extends TestCase $aArgs = [ 'startDate' => '15-03-2018', - 'endDate' => time() + 'endDate' => date('d-m-Y') ]; $fullRequest = $request->withQueryParams($aArgs); @@ -57,7 +57,7 @@ class HistoryControllerTest extends TestCase $aArgs = [ 'startDate' => '15-03-2018', - 'endDate' => time() + 'endDate' => date('d-m-Y') ]; $fullRequest = $request->withQueryParams($aArgs); -- GitLab