Skip to content

Commit 21051ec

Browse files
Revert "PHPunit can fails to find testsuite files pointed by relative paths in configuration XML file. Fixed a difference of path processing between "directory" and "file" tag in Configuration.php."
This reverts commit 401d42f.
1 parent 93279fb commit 21051ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHPUnit/Util/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ protected function getTestSuite(DOMElement $testSuiteNode)
856856
}
857857

858858
// Get the absolute path to the file
859-
$file = $fileIteratorFacade->getFilesAsArray($this->toAbsolutePath($file));
859+
$file = $fileIteratorFacade->getFilesAsArray($file);
860860
$file = $file[0];
861861

862862
if ($fileNode->hasAttribute('phpVersion')) {

0 commit comments

Comments
 (0)