Merge pull request #13482 from overleaf/ab-group-settings-page
[web] Group settings button and page enabled based on env var GitOrigin-RevId: 77574a3705b3f1301935b72010022af61f7fe552
This commit is contained in:
committed by
Copybot
parent
c4db2fa4ca
commit
39bc601826
@@ -158,6 +158,10 @@ describe('SubscriptionController', function () {
|
||||
recordEventForSession: sinon.stub(),
|
||||
setUserPropertyForUser: sinon.stub(),
|
||||
}),
|
||||
'../../../../modules/managed-users/app/src/ManagedUsersManager':
|
||||
(this.ManagedUsersManager = {
|
||||
hasManagedUsersFeature: sinon.stub(),
|
||||
}),
|
||||
},
|
||||
})
|
||||
|
||||
@@ -482,6 +486,10 @@ describe('SubscriptionController', function () {
|
||||
it('should load the plans', function () {
|
||||
expect(this.data.plans).to.deep.equal(this.plans)
|
||||
})
|
||||
|
||||
it('should load an empty list of groups with settings available', function () {
|
||||
expect(this.data.groupSettingsEnabledFor).to.deep.equal([])
|
||||
})
|
||||
})
|
||||
|
||||
describe('createSubscription', function () {
|
||||
|
||||
Reference in New Issue
Block a user