mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 16:41:19 +00:00
Improve 404 navigation and styling
This commit is contained in:
@@ -53,6 +53,6 @@ describe('DocumentAsnComponent', () => {
|
||||
.mockReturnValue(of(convertToParamMap({ id: '5578' })))
|
||||
const navigateSpy = jest.spyOn(router, 'navigate')
|
||||
component.ngOnInit()
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'])
|
||||
expect(navigateSpy).toHaveBeenCalledWith(['404'], { replaceUrl: true })
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user