You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
**Note**: This zip file has 2.7.1 as the version showing in WordPress but it is actually 2.7.2.
9
+
8
10
This release impacts the logic around draft order cleanup.
9
11
10
12
Variations of tests:
@@ -30,7 +32,7 @@ Expected behaviour is:
30
32
*[ ]`woocommerce_cleanup_draft_orders` action **should** appear in the scheduled tasks for Action Scheduler (Tools->Scheduled Actions).
31
33
*[ ] Create a draft order (on the frontend load the checkout block with products in the cart and do not complete the order).
32
34
*[ ] 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)
34
36
*[ ] Trigger the scheduled action again, this time the draft order you modified (and only that draft order) should be deleted.
35
37
36
38
There are phpunit tests covering behaviour as well (including catching errors).
0 commit comments