This commit is contained in:
Peter Fabian 2018-11-15 14:19:13 +01:00 committed by Jonathan Belcher
parent 2dbe3e8cc7
commit 0374119245
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ class WC_Tests_Reports_Orders extends WC_Unit_Test_Case {
),
'intervals' => array(
array(
'interval' => date( 'Y-m-d G', $order->get_date_created()->getOffsetTimestamp() ),
'interval' => date( 'Y-m-d H', $order->get_date_created()->getOffsetTimestamp() ),
'date_start' => $start_time,
'date_start_gmt' => $start_time,
'date_end' => $end_time,
@ -106,7 +106,7 @@ class WC_Tests_Reports_Orders extends WC_Unit_Test_Case {
),
'intervals' => array(
array(
'interval' => date( 'Y-m-d G', $order->get_date_created()->getOffsetTimestamp() ),
'interval' => date( 'Y-m-d H', $order->get_date_created()->getOffsetTimestamp() ),
'date_start' => $start_time,
'date_start_gmt' => $start_time,
'date_end' => $end_time,

View File

@ -64,7 +64,7 @@ class WC_Admin_Tests_Reports_Revenue_Stats extends WC_Unit_Test_Case {
),
'intervals' => array(
array(
'interval' => date( 'Y-m-d G', $order->get_date_created()->getTimestamp() ),
'interval' => date( 'Y-m-d H', $order->get_date_created()->getTimestamp() ),
'date_start' => $start_time,
'date_start_gmt' => $start_time,
'date_end' => $end_time,
@ -108,7 +108,7 @@ class WC_Admin_Tests_Reports_Revenue_Stats extends WC_Unit_Test_Case {
),
'intervals' => array(
array(
'interval' => date( 'Y-m-d G', $order->get_date_created()->getTimestamp() ),
'interval' => date( 'Y-m-d H', $order->get_date_created()->getTimestamp() ),
'date_start' => $start_time,
'date_start_gmt' => $start_time,
'date_end' => $end_time,