mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-10 10:06:30 +00:00
Fix Agile encryption fixture stream size
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user