woocommerce/plugins/woocommerce-admin/tests
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
..
api Fix orders report test. 2019-01-16 09:45:52 -07:00
framework/helpers Add WC_Action_Queue test helper class. 2019-01-16 09:45:04 -07:00
js Add expected locale settings to JS test setup. 2018-12-18 15:46:46 -07:00
reports Update returning customer data to use customer ID (https://github.com/woocommerce/woocommerce-admin/pull/1180) 2019-01-17 10:47:30 +08:00
batch-queue.php Add tests for report regeneration batch queuing methods. 2019-01-16 09:45:04 -07:00
bootstrap.php Add WC_Action_Queue test helper class. 2019-01-16 09:45:04 -07:00
test-sample.php Fix linting errors in tests/test-sample.php 2018-10-23 09:57:45 -04:00