Corrected failing tests.
This commit is contained in:
parent
3c490a5ce6
commit
a1f2c867f4
|
@ -77,6 +77,8 @@ class WC_Tests_Reports_Orders extends WC_Unit_Test_Case {
|
|||
'num_items_sold' => 4,
|
||||
'avg_items_per_order' => 4,
|
||||
'avg_order_value' => 97,
|
||||
'num_returning_customers' => 0,
|
||||
'num_new_customers' => 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -96,6 +98,11 @@ class WC_Tests_Reports_Orders extends WC_Unit_Test_Case {
|
|||
'avg_order_value' => 97,
|
||||
'orders_count' => 1,
|
||||
'avg_items_per_order' => 4,
|
||||
'num_items_sold' => 4,
|
||||
'coupons' => 20,
|
||||
'num_returning_customers' => 0,
|
||||
'num_new_customers' => 1,
|
||||
'products' => '1',
|
||||
),
|
||||
'intervals' => array(
|
||||
array(
|
||||
|
@ -109,6 +116,10 @@ class WC_Tests_Reports_Orders extends WC_Unit_Test_Case {
|
|||
'avg_order_value' => 97,
|
||||
'orders_count' => 1,
|
||||
'avg_items_per_order' => 4,
|
||||
'num_items_sold' => 4,
|
||||
'coupons' => 20,
|
||||
'num_returning_customers' => 0,
|
||||
'num_new_customers' => 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -80,6 +80,8 @@ class WC_Admin_Tests_Reports_Revenue_Stats extends WC_Unit_Test_Case {
|
|||
'net_revenue' => 80,
|
||||
'avg_items_per_order' => 4,
|
||||
'avg_order_value' => 97,
|
||||
'num_returning_customers' => 0,
|
||||
'num_new_customers' => 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -102,6 +104,7 @@ class WC_Admin_Tests_Reports_Revenue_Stats extends WC_Unit_Test_Case {
|
|||
'taxes' => 7,
|
||||
'shipping' => 10,
|
||||
'net_revenue' => 80,
|
||||
'products' => '1',
|
||||
),
|
||||
'intervals' => array(
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue