test: verify persisted membership expiration - #1738
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe recurring membership expiration test now reloads the membership from persistence before checking expiration values, formatted output, event payload data, and cleanup. ChangesCheckout membership validation
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This is a localized test-only change, and no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
|
\n\nSummary: Retrieve the new recurring membership from persistence before checking its expiration and derived event values.\n\nVerification: php -l tests/WP_Ultimo/Checkout/Checkout_Test.php; vendor/bin/phpcs tests/WP_Ultimo/Checkout/Checkout_Test.php; vendor/bin/phpunit --filter test_maybe_create_membership_recurring_product_without_trial_uses_next_charge_date\n\n aidevops.sh v3.32.286 plugin for OpenCode v1.18.18 with gpt-5.6-terra spent 4m and 99,572 tokens on this as a headless worker. Merged via PR #1738 to main. Routing feedback
|
Resolves #1737\n\n
aidevops.sh v3.32.286 plugin for OpenCode v1.18.18 with gpt-5.6-terra spent 3m and 84,229 tokens on this as a headless worker.
Summary by CodeRabbit