Fix issue with case-insensitive windows paths

This commit is contained in:
Dimitrios Karvounaris
2020-06-02 18:01:43 +02:00
parent 926d8ecb8d
commit a0b8082631
2 changed files with 2 additions and 1 deletions

View File

@ -165,6 +165,7 @@ final class TestCaseFactory
}, $filename);
}
$filename = realpath($filename);
$rootPath = TestSuite::getInstance()->rootPath;
$relativePath = str_replace($rootPath . DIRECTORY_SEPARATOR, '', $filename);
// Strip out any %-encoded octets.