Merge pull request #11694 from overleaf/ab-managed-institutions-react

[web] Migrate managed institutions to React dash

GitOrigin-RevId: 535dfafe42d88189bb20e7bb3beac233221ee6ba
This commit is contained in:
Davinder Singh
2023-02-15 09:04:55 +00:00
committed by Copybot
parent ba2d5db50c
commit c524fee690
10 changed files with 620 additions and 278 deletions
@@ -82,6 +82,11 @@ describe('SubscriptionViewModelBuilder', function () {
getCurrentInstitutionsWithLicence: sinon.stub().resolves(),
},
}
this.InstitutionsManager = {
promises: {
fetchV1Data: sinon.stub().resolves(),
},
}
this.RecurlyWrapper = {
promises: {
getSubscription: sinon.stub().resolves(),
@@ -100,6 +105,7 @@ describe('SubscriptionViewModelBuilder', function () {
'@overleaf/settings': this.Settings,
'./SubscriptionLocator': this.SubscriptionLocator,
'../Institutions/InstitutionsGetter': this.InstitutionsGetter,
'../Institutions/InstitutionsManager': this.InstitutionsManager,
'./RecurlyWrapper': this.RecurlyWrapper,
'./SubscriptionUpdater': this.SubscriptionUpdater,
'./PlansLocator': this.PlansLocator,