woocommerce/plugins/woocommerce-admin/tests/reports
Joshua T Flowers da22cbdc9d Update returning customer data to use customer ID (https://github.com/woocommerce/woocommerce-admin/pull/1180)
* Change check for returning customers to check customer_id

* Count distinct returning and new customers in totals

* Fix priority action misplacement and order date timestamp

* Change expected num returning/new customers to fix failing tests

Previously these included references to number of returning vs new orders.  Update to refer to the newly updated customer count.

* Use new get_customer_id_by_user_id() to get customer ID

* Fix 0 returning customers expectation

* Move returning customer function to order stats data store

* Sync order stats on order delete

* Change date compare for is_returning_customer

* Add test case for returning customer order

* Add references to  instead of 2
2019-01-17 10:47:30 +08:00
..
class-wc-tests-reports-coupons-stats.php Changed coupon_gross_discount to amount. 2018-12-18 12:01:42 +08:00
class-wc-tests-reports-coupons.php Switched from using coupon code filter to coupon id filter by query parameter. 2018-12-19 13:37:54 +01:00
class-wc-tests-reports-orders-stats.php Update returning customer data to use customer ID (https://github.com/woocommerce/woocommerce-admin/pull/1180) 2019-01-17 10:47:30 +08:00
class-wc-tests-reports-products.php Add product SKU to products report (https://github.com/woocommerce/woocommerce-admin/pull/1161) 2018-12-25 11:02:06 +08:00
class-wc-tests-reports-revenue-stats.php Add v4 orders endpoint (https://github.com/woocommerce/woocommerce-admin/pull/1246) 2019-01-15 09:53:02 +08:00
class-wc-tests-reports-variations.php Change product_gross_revenue to product_net_revenue (https://github.com/woocommerce/woocommerce-admin/pull/1105) 2018-12-19 08:56:27 +08:00