From: William Desportes <williamdes@wdes.fr>
Date: Sat, 5 Jun 2021 00:26:14 +0200
Subject: Fix FileListingTest and ErrorTest::testSetFile depending on the
 filesystem path

Origin: vendor
Forwarded: not-needed
---
 test/classes/ErrorTest.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/classes/ErrorTest.php b/test/classes/ErrorTest.php
index 3c823d8..d78a216 100644
--- a/test/classes/ErrorTest.php
+++ b/test/classes/ErrorTest.php
@@ -104,12 +104,11 @@ class ErrorTest extends AbstractTestCase
         return [
             [
                 './ChangeLog',
-                '.' . DIRECTORY_SEPARATOR . 'ChangeLog',
+                Error::relPath('.' . DIRECTORY_SEPARATOR . 'ChangeLog'),
             ],
             [
                 __FILE__,
-                '.' . DIRECTORY_SEPARATOR . 'test' . DIRECTORY_SEPARATOR
-                    . 'classes' . DIRECTORY_SEPARATOR . 'ErrorTest.php',
+                Error::relPath(__FILE__),
             ],
             [
                 './NONEXISTING',
