woocommerce/plugins/woocommerce-admin/tests/api
Joshua T Flowers 6fd251bfe4 Adds Jetpack stats to performance indicator endpoints (https://github.com/woocommerce/woocommerce-admin/pull/4291)
* Move allowed report analytics data to separate function

* Add function to retrieve allowed Jetpack module endpoints

* Fix API urls

* Add number format as default for jetpack modules

* Add module permissions and format to array

* Add filter for returned data from performance indicators API

* Filter jetpack stats by queried dates

* Fix empty date query filtering

* Mock the Jetpack API response

* Add tests for Jetpack stats in allowed endpoints

* Add tests for filtering Jetpack stats based on time

* Add tests for default args
2020-05-13 14:52:32 +03:00
..
admin-notes.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
data.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
leaderboards.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
onboarding-profile.php Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093) 2020-04-20 14:04:13 +12:00
onboarding-tasks.php Enable the default homepage template to be filtered (https://github.com/woocommerce/woocommerce-admin/pull/4072) 2020-04-09 09:26:03 +12:00
onboarding-themes.php Onboarding: Add theme install and activation endpoints (https://github.com/woocommerce/woocommerce-admin/pull/3482) 2019-12-30 15:47:15 +08:00
options.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
orders.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
plugins.php Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093) 2020-04-20 14:04:13 +12:00
product-reviews.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
products.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
report-controllers.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-categories.php fix SQL error in category sort (https://github.com/woocommerce/woocommerce-admin/pull/3521) 2020-01-15 16:26:28 -04:00
reports-coupons-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-coupons.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-customers-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-customers.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-downloads-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-downloads.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-export.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-import.php Fix failing tests after WC 4.0 merge (https://github.com/woocommerce/woocommerce-admin/pull/3870) 2020-03-12 14:46:13 +01:00
reports-interval.php PSR-4ify the reports time interval class. 2019-08-12 15:03:21 -07:00
reports-orders-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-orders.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-performance-indicators.php Adds Jetpack stats to performance indicator endpoints (https://github.com/woocommerce/woocommerce-admin/pull/4291) 2020-05-13 14:52:32 +03:00
reports-products-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-products.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-revenue-stats.php Correcting and clarifying analytics terms and calculations (https://github.com/woocommerce/woocommerce-admin/pull/3104) 2019-11-22 10:06:14 -05:00
reports-stock-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-stock.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-taxes-stats.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-taxes.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
reports-variations.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
themes.php Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00