aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Storage/Wrapper/EncryptionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
index 73e9192d4ad..71af8fb7ece 100644
--- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
+++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
@@ -652,7 +652,7 @@ class EncryptionTest extends Storage {
->disableOriginalConstructor()->getMock();
$sourceStorage->expects($this->once())
- ->method('file_exists')
+ ->method('is_file')
->willReturn($exists);
$util = $this->getMockBuilder('\OC\Encryption\Util')