mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 14:40:47 +02:00
Merge pull request #22578 from overleaf/ii-fl-add-seats-upgrade-plan-link
[web] Add seats "Upgrade my plan" link GitOrigin-RevId: 7c72101be6b22feee9e3fb2ec119336e0e092ca9
This commit is contained in:
@@ -109,6 +109,10 @@ describe('SubscriptionGroupController', function () {
|
||||
|
||||
this.SubscriptionModel = { Subscription: {} }
|
||||
|
||||
this.PlansHelper = {
|
||||
isProfessionalGroupPlan: sinon.stub().returns(false),
|
||||
}
|
||||
|
||||
this.Controller = await esmock.strict(modulePath, {
|
||||
'../../../../app/src/Features/Subscription/SubscriptionGroupHandler':
|
||||
this.SubscriptionGroupHandler,
|
||||
@@ -130,6 +134,7 @@ describe('SubscriptionGroupController', function () {
|
||||
this.SubscriptionController,
|
||||
'../../../../app/src/Features/Subscription/RecurlyClient':
|
||||
this.RecurlyClient,
|
||||
'../../../../app/src/Features/Subscription/PlansHelper': this.PlansHelper,
|
||||
'../../../../app/src/models/Subscription': this.SubscriptionModel,
|
||||
'@overleaf/logger': {
|
||||
err: sinon.stub(),
|
||||
@@ -335,6 +340,7 @@ describe('SubscriptionGroupController', function () {
|
||||
props.subscriptionId.should.equal(this.subscriptionId)
|
||||
props.groupName.should.equal(this.subscription.teamName)
|
||||
props.totalLicenses.should.equal(this.subscription.membersLimit)
|
||||
props.isProfessional.should.equal(false)
|
||||
done()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user