-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: command to fix active subs w/ missing next_payment dates (#3484)
* fix: command to fix active subs w/ missing next_payment dates * fix: don't process pending-cancel subs * fix: check for billing period + interval, and account for in-progress * fix: skip broken subscriptions * Update includes/reader-revenue/woocommerce/class-woocommerce-cli.php Co-authored-by: Adam Cassis <adam@adamcassis.com> * fix: account for successful orders and end dates * test: add unit tests * test: minor assertion improvements * Update tests/unit-tests/woocommerce-cli.php Co-authored-by: Adam Cassis <adam@adamcassis.com> * test: update assertions with human-readable messages * refactor: rename method for clarity --------- Co-authored-by: Adam Cassis <adam@adamcassis.com>
- Loading branch information
Showing
3 changed files
with
451 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.