Merge pull request #22379 from overleaf/ls-sync-with-recurly-after-mutation

sync with recurly after mutate subscription

GitOrigin-RevId: 451914f7bde344f82ad4523bee20f1af2297cbd8
This commit is contained in:
ilkin-overleaf
2024-12-10 09:04:55 +00:00
committed by Copybot
parent e422cb9485
commit bd967ce1df
2 changed files with 18 additions and 1 deletions
@@ -48,11 +48,18 @@ describe('SubscriptionGroupHandler', function () {
promises: {},
}
this.SubscriptionHandler = {
promises: {
syncSubscription: sinon.stub().resolves(),
},
}
this.Handler = SandboxedModule.require(modulePath, {
requires: {
'./SubscriptionUpdater': this.SubscriptionUpdater,
'./SubscriptionLocator': this.SubscriptionLocator,
'./SubscriptionController': this.SubscriptionController,
'./SubscriptionHandler': this.SubscriptionHandler,
'../../models/Subscription': {
Subscription: this.Subscription,
},