mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-17 11:21:29 +00:00
Fix: remove admin.logentry perm, use admin (staff) status (#6380)
This commit is contained in:
1 parent
47b4a602a7
commit
f812f2af4d
15 files changed
+81
-47
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user