mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 06:39:01 +02:00
Add optional personal access tokens for git bridge (#15209)
GitOrigin-RevId: 50d4c0e11728e014e81172c062a3b22fefa6286c
This commit is contained in:
@@ -82,6 +82,11 @@ describe('UserPagesController', function () {
|
||||
getAdminEmail: sinon.stub().returns(this.adminEmail),
|
||||
},
|
||||
}
|
||||
this.SplitTestHandler = {
|
||||
promises: {
|
||||
getAssignment: sinon.stub().returns('default'),
|
||||
},
|
||||
}
|
||||
this.UserPagesController = SandboxedModule.require(modulePath, {
|
||||
requires: {
|
||||
'@overleaf/settings': this.settings,
|
||||
@@ -96,6 +101,7 @@ describe('UserPagesController', function () {
|
||||
'../../../../modules/oauth2-server/app/src/OAuthPersonalAccessTokenManager':
|
||||
this.PersonalAccessTokenManager,
|
||||
'../Authentication/SessionManager': this.SessionManager,
|
||||
'../SplitTests/SplitTestHandler': this.SplitTestHandler,
|
||||
request: (this.request = sinon.stub()),
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user