mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[web] fix settings override in acceptance tests (#35798)
GitOrigin-RevId: ee64407a47ef2dac28ca82bd46659c4735e02b6f
This commit is contained in:
@@ -8,6 +8,8 @@ const httpAuthUsers = {}
|
||||
httpAuthUsers[httpAuthUser] = httpAuthPass
|
||||
|
||||
module.exports = {
|
||||
adminRolesEnabled: false,
|
||||
|
||||
catchErrors: false,
|
||||
clsiCookie: undefined,
|
||||
|
||||
|
||||
@@ -212,7 +212,6 @@ describe('Authorization', function () {
|
||||
this.other2 = new User()
|
||||
this.anon = new User()
|
||||
this.site_admin = new User({ email: 'admin@example.com' })
|
||||
settings.adminRolesEnabled = false
|
||||
await Promise.all([
|
||||
this.owner.login(),
|
||||
this.other1.login(),
|
||||
|
||||
Reference in New Issue
Block a user