0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test
Simon Backx 0c72e78e6a
Stored offer_id in subscriptions (#14488)
refs https://github.com/TryGhost/Team/issues/1519

**Tests:**
- Tests whether the metadata from an offer is read correctly and stored in the database
- Test that invalid offer ids are ignored

**Changes in members repository:** 
- Compare changes here: https://github.com/TryGhost/Members/compare/%40tryghost/members-api%405.9.2...%40tryghost/members-api%405.11.1
- The `offer_id` column of subscriptions is set based on the coupon id from Stripe
- `getByStripeCouponId` method added in the offers repository (required to look up an offer from a stripe_coupon_id)
- the `members-payments` package was bumped twice (once for changes, once for undoing those changes, my bad). Nothing else has changed in that package.
2022-04-19 17:06:53 +02:00
..
e2e-api Stored offer_id in subscriptions (#14488) 2022-04-19 17:06:53 +02:00
e2e-browser
e2e-frontend 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00
e2e-server Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
integration Replaced white/black list terminology 2022-04-19 11:19:59 +01:00
regression Updated newsletter fixtures to remove nullable sender name (#14479) 2022-04-14 23:45:59 +05:30
unit Replaced white/black list terminology 2022-04-19 11:19:59 +01:00
utils Updated default newsletter subscription logic for members (#14482) 2022-04-18 13:48:44 +05:30
.eslintignore
.eslintrc.js
.jshintrc