From 8a8764af81938a464c1d1a48a85173943200ed24 Mon Sep 17 00:00:00 2001 From: acsfer Date: Fri, 22 Oct 2021 12:16:11 +0200 Subject: [PATCH] Update Tests --- 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 e534edbb0e0b5..8e0b31aaa4335 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -641,7 +641,7 @@ public function testGetHeaderAddLegacyModule($header, $isEncrypted, $exists, $ex ->disableOriginalConstructor()->getMock(); $sourceStorage->expects($this->once()) - ->method('file_exists') + ->method('is_file') ->willReturn($exists); $util = $this->getMockBuilder('\OC\Encryption\Util')