summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/storage/wrapper/encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/storage/wrapper/encryption.php')
-rw-r--r--tests/lib/files/storage/wrapper/encryption.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/files/storage/wrapper/encryption.php b/tests/lib/files/storage/wrapper/encryption.php
index bf4464f0eb9..4f7a9e851c1 100644
--- a/tests/lib/files/storage/wrapper/encryption.php
+++ b/tests/lib/files/storage/wrapper/encryption.php
@@ -44,7 +44,9 @@ class Encryption extends \Test\Files\Storage\Storage {
$file = $this->getMockBuilder('\OC\Encryption\File')
->disableOriginalConstructor()
+ ->setMethods(['getAccessList'])
->getMock();
+ $file->expects($this->any())->method('getAccessList')->willReturn([]);
$logger = $this->getMock('\OC\Log');