Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit e0ee579

Browse files
committed
update testing docs
1 parent c9419cd commit e0ee579

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/testing/releases/272.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
**Zip File for testing:**
66
[woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/4932938/woocommerce-gutenberg-products-block.zip)
77

8+
**Note**: This zip file has 2.7.1 as the version showing in WordPress but it is actually 2.7.2.
9+
810
This release impacts the logic around draft order cleanup.
911

1012
Variations of tests:
@@ -30,7 +32,7 @@ Expected behaviour is:
3032
* [ ] `woocommerce_cleanup_draft_orders` action **should** appear in the scheduled tasks for Action Scheduler (Tools->Scheduled Actions).
3133
* [ ] Create a draft order (on the frontend load the checkout block with products in the cart and do not complete the order).
3234
* [ ] Trigger the scheduled action for `woocommerce_cleanup_draft_orders` and verify the just created draft order and none of the other orders on your test site have been deleted.
33-
* [ ] Modify the draft order date so that it's greater than 24 hours in the past from now.
35+
* [ ] Modify the draft order date so that it's greater than 24 hours in the past from now (you need to modify the `post_modifed_gmt` field)
3436
* [ ] Trigger the scheduled action again, this time the draft order you modified (and only that draft order) should be deleted.
3537

3638
There are phpunit tests covering behaviour as well (including catching errors).

0 commit comments

Comments
 (0)