woocommerce/plugins/woocommerce-admin/tests/api
Jeff Stieler 7b4f825bc7 Fix PHP Fatals from Notes DataStore when columns are missing. (https://github.com/woocommerce/woocommerce-admin/pull/4831)
* Handle admin note data read exceptions.

* Add test for notes datastore encountering an exception in read().

* Fix WC_Admin_notes::get_note() helper.

* Throw exception from WC_Admin_Note class instead.

Mimicking WC_Order, etc.

* Use helper method to retrieve existing notes.

* Use self for static calls.

* Check for valid note before updating in WCPay note class.

* Don't specify columns when fetching notes from the database.

* Fix deprecated function call.

Avoid calling deprecated set_icon() when passing data to WC_Admin_Note constructor.
2020-07-20 11:28:00 -07:00
..
admin-notes.php Fix PHP Fatals from Notes DataStore when columns are missing. (https://github.com/woocommerce/woocommerce-admin/pull/4831) 2020-07-20 11:28:00 -07: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 Added skip profiler functionality (https://github.com/woocommerce/woocommerce-admin/pull/4721) 2020-07-16 12:17:10 -03: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 Handle multiple plugin installs in a single request (https://github.com/woocommerce/woocommerce-admin/pull/4411) 2020-05-27 10:28:13 +03: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 Fix deleted products breaking Downloads Report (https://github.com/woocommerce/woocommerce-admin/pull/4582) 2020-06-16 09:47:27 -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 Count total unique customers instead of new/returning in order stats (https://github.com/woocommerce/woocommerce-admin/pull/4430) 2020-06-18 20:43:56 +03: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 Avoid Jetpack REST API when retrieving active modules (https://github.com/woocommerce/woocommerce-admin/pull/4755) 2020-07-06 16:11:45 -04: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