Explorar o código

fix unit tests

Olivier Massot %!s(int64=2) %!d(string=hai) anos
pai
achega
3852035d0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Unit/Service/File/Storage/LocalStorageTest.php

+ 1 - 1
tests/Unit/Service/File/Storage/LocalStorageTest.php

@@ -363,7 +363,7 @@ class LocalStorageTest extends TestCase
         $this->filesystem->method('has')->with($key)->willReturn(false);
 
         $this->expectException(RuntimeException::class);
-        $this->expectDeprecationMessage('The file `' . $key . '` does not exist in the file storage');
+        $this->expectExceptionMessage('The file `' . $key . '` does not exist in the file storage');
 
         $fileStorage->writeFile($file, '12346', $author);
     }