mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +01:00
Fix: saved view permissions fixes (#7672)
This commit is contained in:
parent
f1559b7108
commit
bee963c23d
5 changed files with 30 additions and 20 deletions
|
|
@ -57,7 +57,7 @@ describe(`Additional service tests for SavedViewService`, () => {
|
|||
let settingsService
|
||||
|
||||
it('should retrieve saved views and sort them', () => {
|
||||
service.initialize()
|
||||
service.reload()
|
||||
const req = httpTestingController.expectOne(
|
||||
`${environment.apiBaseUrl}${endpoint}/?page=1&page_size=100000`
|
||||
)
|
||||
|
|
@ -70,7 +70,7 @@ describe(`Additional service tests for SavedViewService`, () => {
|
|||
})
|
||||
|
||||
it('should gracefully handle errors', () => {
|
||||
service.initialize()
|
||||
service.reload()
|
||||
const req = httpTestingController.expectOne(
|
||||
`${environment.apiBaseUrl}${endpoint}/?page=1&page_size=100000`
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue