]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update Tests 27440/head
authoracsfer <carlos@reendex.com>
Fri, 22 Oct 2021 10:16:11 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 10:16:11 +0000 (12:16 +0200)
tests/lib/Files/Storage/Wrapper/EncryptionTest.php

index 73e9192d4adec390955747fa3b32dec78e6f0149..71af8fb7ece3a9051f46b2c367dac7731f77bf5b 100644 (file)
@@ -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')