Merge pull request #23547 from overleaf/ii-flexible-group-licensing-error-assist-2
[web] Hide flexible licensing buttons for pending plans (fix) GitOrigin-RevId: ce5b4ce4138ed7a029b840a87c5498227e3204f4
This commit is contained in:
@@ -81,6 +81,11 @@ describe('UserMembershipController', function () {
|
||||
},
|
||||
getAssignment: sinon.stub().yields(null, { variant: 'default' }),
|
||||
}
|
||||
this.RecurlyClient = {
|
||||
promises: {
|
||||
getSubscription: sinon.stub().resolves({}),
|
||||
},
|
||||
}
|
||||
this.UserMembershipController = await esmock.strict(modulePath, {
|
||||
'../../../../app/src/Features/UserMembership/UserMembershipErrors': {
|
||||
UserIsManagerError,
|
||||
@@ -93,6 +98,8 @@ describe('UserMembershipController', function () {
|
||||
this.SplitTestHandler,
|
||||
'../../../../app/src/Features/UserMembership/UserMembershipHandler':
|
||||
this.UserMembershipHandler,
|
||||
'../../../../app/src/Features/Subscription/RecurlyClient':
|
||||
this.RecurlyClient,
|
||||
'@overleaf/settings': this.Settings,
|
||||
'../../../../app/src/models/SSOConfig': { SSOConfig: this.SSOConfig },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user