Ghost/test/unit/server/services
Fabien 'egg' O'Carroll a565da06b2
🐛 Fixed Offer Redemptions being over counted (#13988)
refs https://github.com/TryGhost/Team/issues/1257

Offer Redemptions were being overcounted due to the way we were updating
Stripe configuration for the Members service. We would create a new
instance of the members-api, which would have event handlers for
creating Offer Redemptions - by creating a new instance each time Stripe
config changed, we would overcount them.

Here we've pulled out Stripe related logic into the Stripe service, and
updated it internally - rather than creating a new instance. This means
that we've been able to remove all of the logic for re-instantiating the
members-api.

- Bumped members-api & stripe-service
- Removed reinstantiation of members-api
- Used stripe service to execute migrations
- Updated Stripe Service to handle webhooks & migrations
- Used webhook controller from stripe service
- Used disconnect method from stripe service
- Removed unused stripe dependency
- Removed Stripe webhook config from members-api
2022-01-18 17:56:47 +02:00
..
adapter-manager Added local media storage adapter 2021-11-03 00:33:28 +13:00
auth Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
mail Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
mega Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
members 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
notifications Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
permissions Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
posts Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
redirects Slimmed down redirects test suites 2021-11-26 06:18:36 +13:00
settings Added coverage for route settings class 2021-12-13 12:21:47 +04:00
stripe 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
themes Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
labs.test.js Added ability for themes to define custom settings (#13661) 2021-10-22 15:02:16 +01:00
slack.test.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
xmlrpc.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00