Skip to content
Snippets Groups Projects
Commit ecabad5e authored by Florian Azizian's avatar Florian Azizian
Browse files

tu history

parent 39f11d49
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,6 @@ SET standard_conforming_strings = off; ...@@ -5,7 +5,6 @@ SET standard_conforming_strings = off;
SET check_function_bodies = false; SET check_function_bodies = false;
SET client_min_messages = warning; SET client_min_messages = warning;
SET escape_string_warning = off; SET escape_string_warning = off;
SET datestyle = 'iso, dmy';
--DROP PROCEDURAL LANGUAGE IF EXISTS plpgsql CASCADE; --DROP PROCEDURAL LANGUAGE IF EXISTS plpgsql CASCADE;
--CREATE PROCEDURAL LANGUAGE plpgsql; --CREATE PROCEDURAL LANGUAGE plpgsql;
......
...@@ -35,8 +35,8 @@ class HistoryControllerTest extends TestCase ...@@ -35,8 +35,8 @@ class HistoryControllerTest extends TestCase
$request = \Slim\Http\Request::createFromEnvironment($environment); $request = \Slim\Http\Request::createFromEnvironment($environment);
$aArgs = [ $aArgs = [
'startDate' => '15-03-2018', 'startDate' => date('Y-m-d H:i:s', 1521100000),
'endDate' => date('d-m-Y') 'endDate' => date('Y-m-d H:i:s', time())
]; ];
$fullRequest = $request->withQueryParams($aArgs); $fullRequest = $request->withQueryParams($aArgs);
...@@ -56,8 +56,8 @@ class HistoryControllerTest extends TestCase ...@@ -56,8 +56,8 @@ class HistoryControllerTest extends TestCase
$request = \Slim\Http\Request::createFromEnvironment($environment); $request = \Slim\Http\Request::createFromEnvironment($environment);
$aArgs = [ $aArgs = [
'startDate' => '15-03-2018', 'startDate' => date('Y-m-d H:i:s', 1521100000),
'endDate' => date('d-m-Y') 'endDate' => date('Y-m-d H:i:s', time())
]; ];
$fullRequest = $request->withQueryParams($aArgs); $fullRequest = $request->withQueryParams($aArgs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment