aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-10-23 11:18:52 +0200
committerGitHub <noreply@github.com>2021-10-23 11:18:52 +0200
commitf4e4a85fcfc8ee25d4d398f5fa8aa657d4eaf08a (patch)
tree96e82a5891f10907da215efd3737fb9429cebe90 /tests
parentc5e9f379bdef3ed2669aa8dbcd16afffc1d839a2 (diff)
parentdae769d082ffcde2c4f0b4cb27e7afd4c35023d7 (diff)
downloadnextcloud-server-f4e4a85fcfc8ee25d4d398f5fa8aa657d4eaf08a.tar.gz
nextcloud-server-f4e4a85fcfc8ee25d4d398f5fa8aa657d4eaf08a.zip
Merge pull request #27440 from nextcloud/is-file-handle
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Storage/Wrapper/EncryptionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
index a4ee5e45bd5..71af8fb7ece 100644
--- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
+++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php
@@ -624,7 +624,7 @@ class EncryptionTest extends Storage {
$util->expects($this->once())->method('stripPartialFileExtension')
->with($path)->willReturn($strippedPath);
$sourceStorage->expects($this->once())
- ->method('file_exists')
+ ->method('is_file')
->with($strippedPath)
->willReturn($strippedPathExists);
@@ -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')