mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
Fix test
This commit is contained in:
@@ -1277,6 +1277,9 @@ describe('DocumentDetailComponent', () => {
|
|||||||
DocumentDetailComponent.prototype as any,
|
DocumentDetailComponent.prototype as any,
|
||||||
'tryRenderTiff'
|
'tryRenderTiff'
|
||||||
)
|
)
|
||||||
|
const doc = Object.assign({}, component.document)
|
||||||
|
doc.archived_file_name = null
|
||||||
|
doc.mime_type = 'image/tiff'
|
||||||
jest
|
jest
|
||||||
.spyOn(documentService, 'getMetadata')
|
.spyOn(documentService, 'getMetadata')
|
||||||
.mockReturnValue(
|
.mockReturnValue(
|
||||||
|
Reference in New Issue
Block a user