Commit 77932a42 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Fix issue with symlinks if using EcomDev_PHPUnit with modman and extension...

! Fix issue with symlinks if using EcomDev_PHPUnit with modman and extension that is using fixtures are also symlinked via it
parent 34fc4210
......@@ -145,7 +145,7 @@ class EcomDev_PHPUnit_Test_Suite extends PHPUnit_Framework_TestSuite
foreach ($directoryIterator as $fileObject) {
/* @var $fileObject SplFileObject */
// Skip entry if it is not a php file
if (!$fileObject->isFile() || $fileObject->getBasename('.php') === $fileObject->getBasename()) {
if ((!$fileObject->isFile() && !$fileObject->isLink()) || $fileObject->getBasename('.php') === $fileObject->getBasename()) {
continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment