aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/stream
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-08-24 15:56:04 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-08-26 14:58:22 +0200
commit8c08dd0ac26290829b10e28c333358ae10d953eb (patch)
treea80791395ea10b3bc2573d2576a12ceb396d71da /tests/lib/files/stream
parent6c8c8a328abb0823a8b20e30c2ace06f2b568ea3 (diff)
downloadnextcloud-server-8c08dd0ac26290829b10e28c333358ae10d953eb.tar.gz
nextcloud-server-8c08dd0ac26290829b10e28c333358ae10d953eb.zip
occ tool to encrypt all files
Diffstat (limited to 'tests/lib/files/stream')
-rw-r--r--tests/lib/files/stream/encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/stream/encryption.php b/tests/lib/files/stream/encryption.php
index 281ec0a14a0..ed3b5b1b156 100644
--- a/tests/lib/files/stream/encryption.php
+++ b/tests/lib/files/stream/encryption.php
@@ -305,7 +305,7 @@ class Encryption extends \Test\TestCase {
protected function buildMockModule() {
$encryptionModule = $this->getMockBuilder('\OCP\Encryption\IEncryptionModule')
->disableOriginalConstructor()
- ->setMethods(['getId', 'getDisplayName', 'begin', 'end', 'encrypt', 'decrypt', 'update', 'shouldEncrypt', 'getUnencryptedBlockSize', 'isReadable'])
+ ->setMethods(['getId', 'getDisplayName', 'begin', 'end', 'encrypt', 'decrypt', 'update', 'shouldEncrypt', 'getUnencryptedBlockSize', 'isReadable', 'encryptAll'])
->getMock();
$encryptionModule->expects($this->any())->method('getId')->willReturn('UNIT_TEST_MODULE');