mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
Fix: remove admin.logentry perm, use admin (staff) status (#6380)
This commit is contained in:
parent
47b4a602a7
commit
f812f2af4d
15 changed files with 81 additions and 47 deletions
|
|
@ -418,6 +418,7 @@ describe('SettingsComponent', () => {
|
|||
},
|
||||
}
|
||||
jest.spyOn(systemStatusService, 'get').mockReturnValue(of(status))
|
||||
jest.spyOn(permissionsService, 'isAdmin').mockReturnValue(true)
|
||||
completeSetup()
|
||||
expect(component['systemStatus']).toEqual(status) // private
|
||||
expect(component.systemStatusHasErrors).toBeTruthy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue