Skip to content

Commit

Permalink
Revert "PHPunit can fails to find testsuite files pointed by relative…
Browse files Browse the repository at this point in the history
… paths in configuration XML file. Fixed a difference of path processing between "directory" and "file" tag in Configuration.php."

This reverts commit 401d42f.
  • Loading branch information
sebastianbergmann committed Jan 23, 2012
1 parent 93279fb commit 21051ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Util/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ protected function getTestSuite(DOMElement $testSuiteNode)
}

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

if ($fileNode->hasAttribute('phpVersion')) {
Expand Down

0 comments on commit 21051ec

Please sign in to comment.