diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-03 11:42:25 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:31 +0200 |
commit | fce42a316188fa4bc7be53f4e43b261092972aab (patch) | |
tree | 796108cdf3272c1babfc3944882dbd83c663d69f /tests | |
parent | 870c53ee37a406d60d8cb6b319a19a3f423dda9c (diff) | |
download | nextcloud-server-fce42a316188fa4bc7be53f4e43b261092972aab.tar.gz nextcloud-server-fce42a316188fa4bc7be53f4e43b261092972aab.zip |
fixing unit test execution - test dummy module was behaving wrong
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/storage/wrapper/encryption.php | 2 | ||||
-rw-r--r-- | tests/lib/files/stream/encryption.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/files/storage/wrapper/encryption.php b/tests/lib/files/storage/wrapper/encryption.php index 41bd2f84996..e25002eee2e 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 3e30385dfef..84156337ad7 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; } } |