Fix Agile encryption fixture stream size

This commit is contained in:
^^
2026-08-25 19:40:33 +08:00
parent ef17372134
commit cd9a6f2d7f
+1 -1
View File
@@ -88,7 +88,7 @@ class OLETest extends TestCase
// Fixture generated by Microsoft Excel 16.111.2; password-to-open: open.
// The encrypted workbook contains A1 = 'agile encryption fixture' and B1 = 42.
self::assertSame('0400040040000000', bin2hex(substr($ole->getDataByName('EncryptionInfo'), 0, 8)));
self::assertSame(8952, strlen($ole->getDataByName('EncryptedPackage')));
self::assertSame(6280, strlen($ole->getDataByName('EncryptedPackage')));
}
public function testNamedStreamMustExist(): void