Ghost/ghost/core/test
Rishabh Garg a81620e37d
🐛 Fixed invalid expiry for member tier subscriptions (#16174)
refs https://github.com/TryGhost/Team/issues/2476

When upgrading from a Complimentary subscription with an expiry, to a paid Subscription of the same Tier, the Member was eventually losing access to the Tier when the complimentary subscription expires as the `expiry_at` on the mapping was not removed. This change fixes the code by setting expiry as null when a member upgrades their subscription to paid. This also adds 2 migrations to fix any side-effects on existing sites -

- Removed invalid expiry tier expiry date for paid members
- Restored missing tier mapping for paid members
2023-01-25 13:59:43 +05:30
..
e2e-api Removed flaky test 2023-01-24 18:50:04 +07:00
e2e-browser Fixed Playwright tests for new email flow 2023-01-20 19:00:13 +01:00
e2e-frontend 🔒 Disabled editable relations by default 2022-11-28 18:40:26 +07:00
e2e-server Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
e2e-webhooks 🐛 Fixed tiers order by monthly_price (#16013) 2023-01-03 12:59:18 +04:00
integration Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
regression Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
unit 🐛 Fixed invalid expiry for member tier subscriptions (#16174) 2023-01-25 13:59:43 +05:30
utils Fixed Playwright tests for new email flow 2023-01-20 19:00:13 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00