woocommerce/plugins/woocommerce-blocks/tests/php/Domain/Services
Vedanshu Jain 6d8aa16d4c Add protection around mock queries in unit tests. (https://github.com/woocommerce/woocommerce-blocks/pull/3602)
* Add protection around mock queries in unit tests.

This adds additional checks before mocking wc_get_orders query results to prevent overriding refunds query. This is needed with WC core 4.9 since it does an addtional wc_get_orders query to preload and hydrate cache for refunds in order to improve performance.

* update jetpack autoloader to 2.7.1

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2021-01-14 15:48:57 +01:00
..
CreateAccount.php Move feature flag PHP logic to a service class (https://github.com/woocommerce/woocommerce-blocks/pull/3343) 2020-11-17 08:46:12 +01:00
DeleteDraftOrders.php Add protection around mock queries in unit tests. (https://github.com/woocommerce/woocommerce-blocks/pull/3602) 2021-01-14 15:48:57 +01:00