Merge pull request #22142 from overleaf/jdt-enable-wf-on-commons

[Web] Toggle on Writefull commons targeting

GitOrigin-RevId: ede7f5397d1f110da006111ffcfd2eebb3626927
This commit is contained in:
Jimmy Domagala-Tang
2024-11-28 10:45:34 -05:00
committed by Copybot
parent 349b61257e
commit 4c011f74d9
2 changed files with 23 additions and 1 deletions
@@ -190,6 +190,11 @@ describe('ProjectController', function () {
hasLicence: sinon.stub().resolves(false),
},
}
this.InstitutionsGetter = {
promises: {
getCurrentAffiliations: sinon.stub().resolves([]),
},
}
this.SubscriptionViewModelBuilder = {
getBestSubscription: sinon.stub().yields(null, { type: 'free' }),
}
@@ -256,6 +261,7 @@ describe('ProjectController', function () {
},
},
'../Institutions/InstitutionsFeatures': this.InstitutionsFeatures,
'../Institutions/InstitutionsGetter': this.InstitutionsGetter,
'../Survey/SurveyHandler': this.SurveyHandler,
'./ProjectAuditLogHandler': this.ProjectAuditLogHandler,
'../Tutorial/TutorialHandler': this.TutorialHandler,