Fixed test path to expand softlinks to match xDebug behavior.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6867 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
TommyO 2008-05-14 15:00:28 +00:00
parent 05b3193c54
commit 830f9ec3f8

View file

@ -503,7 +503,10 @@ class CodeCoverageManager {
$path = ROOT.DS.CAKE_TESTS_LIB;
}
$path .= $testFile;
$realpath = realpath($path);
if ($realpath) {
return $realpath;
}
return $path;
}
/**