]> source.dussan.org Git - nextcloud-server.git/commitdiff
Tests update
authoracsfer <carlos@reendex.com>
Sun, 15 Aug 2021 10:23:29 +0000 (12:23 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Sat, 23 Oct 2021 09:28:13 +0000 (09:28 +0000)
tests/lib/Files/Storage/Wrapper/EncryptionTest.php

index a4ee5e45bd5fb62a82a8dd7b0c4f91dfa3377606..73e9192d4adec390955747fa3b32dec78e6f0149 100644 (file)
@@ -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);