Merge pull request #20062 from overleaf/ab-saas-authentication-module-renaming

[web] Rename overleaf-integration module to saas-authentication

GitOrigin-RevId: 7d69e06a19da9855fa9a0962114ad97b45ad8875
This commit is contained in:
Alexandre Bourdin
2024-08-23 08:04:43 +00:00
committed by Copybot
parent 0e71084600
commit 4997b7f1ee
11 changed files with 16 additions and 19 deletions
@@ -362,7 +362,7 @@ describe('ProjectListController', function () {
this.institutionName = 'Overleaf'
this.Features.hasFeature.withArgs('saml').returns(true)
this.Features.hasFeature.withArgs('affiliations').returns(true)
this.Features.hasFeature.withArgs('overleaf-integration').returns(true)
this.Features.hasFeature.withArgs('saas').returns(true)
done()
})
it('should show institution SSO available notification for confirmed domains', function () {
@@ -59,7 +59,7 @@ describe('Features', function () {
expect(this.Features.hasFeature('homepage')).to.be.false
expect(this.Features.hasFeature('link-url')).to.be.false
expect(this.Features.hasFeature('oauth')).to.be.false
expect(this.Features.hasFeature('overleaf-integration')).to.be.false
expect(this.Features.hasFeature('saas')).to.be.false
expect(this.Features.hasFeature('references')).to.be.false
expect(this.Features.hasFeature('saml')).to.be.false
expect(this.Features.hasFeature('templates-server-pro')).to.be.false
@@ -72,7 +72,7 @@ describe('Features', function () {
this.settings.apis = {}
})
it('should return true', function () {
expect(this.Features.hasFeature('overleaf-integration')).to.be.true
expect(this.Features.hasFeature('saas')).to.be.true
expect(this.Features.hasFeature('registration')).to.be.true
})
it('should return false', function () {
@@ -104,7 +104,7 @@ describe('Features', function () {
it('should return true', function () {
expect(this.Features.hasFeature('affiliations')).to.be.true
expect(this.Features.hasFeature('analytics')).to.be.true
expect(this.Features.hasFeature('overleaf-integration')).to.be.true
expect(this.Features.hasFeature('saas')).to.be.true
expect(this.Features.hasFeature('references')).to.be.true
expect(this.Features.hasFeature('registration')).to.be.true
})
@@ -135,8 +135,7 @@ describe('Features', function () {
expect(this.Features.hasFeature('homepage')).to.be.true
expect(this.Features.hasFeature('link-url')).to.be.true
expect(this.Features.hasFeature('oauth')).to.be.true
expect(this.Features.hasFeature('overleaf-integration')).to.be
.true
expect(this.Features.hasFeature('saas')).to.be.true
expect(this.Features.hasFeature('references')).to.be.true
expect(this.Features.hasFeature('registration')).to.be.true
expect(this.Features.hasFeature('saml')).to.be.true