summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracsfer <carlos@reendex.com>2021-08-15 12:23:29 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-10-23 09:28:13 +0000
commit1714ead4f2a7fe06af5107aa983b6039f93764c6 (patch)
tree273b3e20b68e56d3200c685f1d0939a2007e8660 /tests
parent3a5d1c1faf9b5e4c5bd959992bea4a7861223581 (diff)
downloadnextcloud-server-1714ead4f2a7fe06af5107aa983b6039f93764c6.tar.gz
nextcloud-server-1714ead4f2a7fe06af5107aa983b6039f93764c6.zip
Tests update
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 a4ee5e45bd5..73e9192d4ad 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);