Updated Release Testing Instructions WooCommerce 5.4 (markdown)

Julia Amosova 2021-05-16 12:29:16 -04:00
parent 390215549b
commit c66cebe6dd
1 changed files with 12 additions and 1 deletions

@ -126,4 +126,15 @@ To test:
3. Make a REST API request to the 'https://localhost.com/wp-json/wc/v2/orders' end point and use the `dates_are_gmt` parameters to allow the before and after parameters to use the `post_date_gmt` column if it is true. Example:
```
https://localhost.com/wp-json/wc/v3/orders?dates_are_gmt=true&after=2021-04-24T06:00:00&before=2021-04-24T14:00:00&consumer_key=xxx&consumer_secret=xxx
```
```
### On the action of deleting a product category, we want to reassign any products that have been assigned to deleted category categories to a default Uncategorized category. Closes #29540
PR: https://github.com/woocommerce/woocommerce/pull/29681
To test:
1. Create a product category.
2. Create several simple products and assign them the category from step 1.
3. Now go to the product category page and delete the category you've created in step 1.
4. Go back to the products page and ensure these products have the `Uncategorized` category assigned instead of nothing.
5. Do the same test with REST API deleting the product category via `wp-json/wc/v3/products/categories/{cat_id}` endpoint using `DELETE` method. Tip make sure to have a JSON payload of `"force": true` for this to work.