diff --git a/tests/lib/files/storage/wrapper/encryption.php b/tests/lib/files/storage/wrapper/encryption.php index 41bd2f849965a1deead4540bfcf6afe708927345..e25002eee2e8f77bd3523c250abb629a7438a49b 100644 --- a/tests/lib/files/storage/wrapper/encryption.php +++ b/tests/lib/files/storage/wrapper/encryption.php @@ -78,7 +78,7 @@ class Encryption extends \Test\Files\Storage\Storage { $encryptionModule->expects($this->any())->method('update')->willReturn(true); $encryptionModule->expects($this->any())->method('shouldEncrypt')->willReturn(true); $encryptionModule->expects($this->any())->method('calculateUnencryptedSize')->willReturn(42); - $encryptionModule->expects($this->any())->method('getUnencryptedBlockSize')->willReturn(6126); + $encryptionModule->expects($this->any())->method('getUnencryptedBlockSize')->willReturn(8192); return $encryptionModule; } diff --git a/tests/lib/files/stream/encryption.php b/tests/lib/files/stream/encryption.php index 3e30385dfef120b4245f913c478e8c8824adfbf3..84156337ad72f9e81525a99c4ba62781b8636065 100644 --- a/tests/lib/files/stream/encryption.php +++ b/tests/lib/files/stream/encryption.php @@ -98,7 +98,7 @@ class Encryption extends \Test\TestCase { $encryptionModule->expects($this->any())->method('update')->willReturn(true); $encryptionModule->expects($this->any())->method('shouldEncrypt')->willReturn(true); $encryptionModule->expects($this->any())->method('calculateUnencryptedSize')->willReturn(42); - $encryptionModule->expects($this->any())->method('getUnencryptedBlockSize')->willReturn(6126); + $encryptionModule->expects($this->any())->method('getUnencryptedBlockSize')->willReturn(8192); return $encryptionModule; } }