From 0fe8670547ec0fe3e55f8e0dbb77fbf07f141601 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Feb 2018 14:45:08 -0300 Subject: [PATCH] Bug 20144: [sql_modes] Fix search history tests Incorrect datetime value: '1374978877' for column 'time' Need to investigate this: Why did I put that value in the test? Does the feature correctly works? Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- t/db_dependent/Search/History.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Search/History.t b/t/db_dependent/Search/History.t index 92b3f4f204..ee0173426c 100644 --- a/t/db_dependent/Search/History.t +++ b/t/db_dependent/Search/History.t @@ -379,7 +379,7 @@ $session->flush; sub myMockedget_from_session { my $expected_recent_searches = [ { - 'time' => 1374978877, + 'time' => dt_from_string, 'query_cgi' => 'cgi_test', 'total' => 2, 'query_desc' => 'kw,wrdl: history, ' -- 2.20.1