fix: update nginx image version and add ignoreEncryption flag in pdf decrypt tests

This commit is contained in:
alam00000
2026-03-31 11:51:25 +05:30
parent d1bac8675b
commit fefc433e0b
2 changed files with 3 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ describe('pdf decrypt', () => {
expect(mockPdfDocumentLoad).toHaveBeenCalledWith(
new Uint8Array([8, 8, 8]),
{
ignoreEncryption: true,
throwOnInvalidObject: false,
}
);
@@ -267,6 +268,7 @@ describe('pdf decrypt', () => {
expect(mockPdfDocumentLoad).toHaveBeenCalledWith(
new Uint8Array([6, 6, 6]),
{
ignoreEncryption: true,
throwOnInvalidObject: false,
}
);