mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix test
This commit is contained in:
parent
5651aa85f9
commit
0eebe80626
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user