mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #12901 from overleaf/msm-oauth-token-flags
[web] Feature flags for Personal Access Tokens GitOrigin-RevId: cb359b7c41d8875ebae7d78a8839528bc4adc04c
This commit is contained in:
@@ -67,6 +67,9 @@ describe('UserPagesController', function () {
|
||||
_getRedirectFromSession: sinon.stub(),
|
||||
setRedirectInSession: sinon.stub(),
|
||||
}
|
||||
this.Features = {
|
||||
hasFeature: sinon.stub().returns(false),
|
||||
}
|
||||
this.UserPagesController = SandboxedModule.require(modulePath, {
|
||||
requires: {
|
||||
'@overleaf/settings': this.settings,
|
||||
@@ -76,6 +79,7 @@ describe('UserPagesController', function () {
|
||||
'../Errors/ErrorController': this.ErrorController,
|
||||
'../Authentication/AuthenticationController':
|
||||
this.AuthenticationController,
|
||||
'../../infrastructure/Features': this.Features,
|
||||
'../Authentication/SessionManager': this.SessionManager,
|
||||
request: (this.request = sinon.stub()),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user