- Issue created by @loze
- Status changed to Needs review
over 1 year ago 9:54pm 27 November 2023 - πΊπΈUnited States loze Los Angeles
This MR allows users to change from a plan that has been removed from Recurly.
- πΊπΈUnited States loze Los Angeles
The failed test here is due to the test checking for a valid old plan, which I suppose should be removed if we allow changing from a deleted plan.
Perhaps it should check for a valid subscription (not a valid old plan) when switching plans?
- πΊπΈUnited States eojthebrave Minneapolis, MN
If we're not using the old plan for anything I can think we can probably just remove that from the test? Or maybe update the test so that it will verify that you can change your subscription both with an existing old plan, and a deleted old plan. Which would help to ensure we don't re-introduce this bug in the future.
- πΊπΈUnited States loze Los Angeles
Thanks for looking at it, @eojthebrave. I removed the loading of the old plan and added a comment as you suggested.
Still need to work out the tests. Im not particularly good with tests but I'll try to figure it out when I get some more time.
- πΊπΈUnited States loze Los Angeles
That was easier than I thought it would be. I got the test to go green.