mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
05b3193c54
commit
830f9ec3f8
1 changed files with 5 additions and 2 deletions
|
@ -503,7 +503,10 @@ class CodeCoverageManager {
|
|||
$path = ROOT.DS.CAKE_TESTS_LIB;
|
||||
}
|
||||
$path .= $testFile;
|
||||
|
||||
$realpath = realpath($path);
|
||||
if ($realpath) {
|
||||
return $realpath;
|
||||
}
|
||||
return $path;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue