aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-03 11:42:25 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:31 +0200
commitfce42a316188fa4bc7be53f4e43b261092972aab (patch)
tree796108cdf3272c1babfc3944882dbd83c663d69f /tests
parent870c53ee37a406d60d8cb6b319a19a3f423dda9c (diff)
downloadnextcloud-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.php2
-rw-r--r--tests/lib/files/stream/encryption.php2
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;
}
}