Skip to content

Commit

Permalink
PHPunit can fails to find testsuite files pointed by relative paths i…
Browse files Browse the repository at this point in the history
…n configuration XML file. Fixed a difference of path processing between "directory" and "file" tag in Configuration.php.
  • Loading branch information
marsaud committed Jan 12, 2012
1 parent 82c33f8 commit 401d42f
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($file);
$file = $fileIteratorFacade->getFilesAsArray($this->toAbsolutePath($file));
$file = $file[0];

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

0 comments on commit 401d42f

Please sign in to comment.