Commit abdd113c authored by catch's avatar catch
Browse files

fix: #3613160 PHP 8.6 failure in FileStorageTest

By: catch
By: mondrake
By: godotislate
(cherry picked from commit 0439c440)
parent 2a2ff0e5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ public function testCreateDirectoryFailWarning(): void {
    $this->assertSame(E_USER_WARNING, $messages[0][0]);
    $this->assertSame('mkdir(): Permission Denied', $messages[0][1]);
    $this->assertSame(E_WARNING, $messages[1][0]);
    $this->assertStringStartsWith('file_put_contents(vfs://permissionDenied/test/subdirectory/foo.php)', $messages[1][1]);
    $this->assertMatchesRegularExpression('/file_put_contents(.*): Failed to open stream: ".*vfsStreamWrapper::stream_open" call failed/', $messages[1][1]);
  }

}