From 4f5ef75d8276c5ba46045db11ea146d2540b30fb Mon Sep 17 00:00:00 2001 From: acsfer Date: Sun, 15 Aug 2021 12:23:29 +0200 Subject: [PATCH] Tests update --- tests/lib/Files/Storage/Wrapper/EncryptionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php index d152a51ed85..e534edbb0e0 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -613,7 +613,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);