diff --git a/cake/tests/lib/code_coverage_manager.php b/cake/tests/lib/code_coverage_manager.php index 46edac72e..3ccee53f9 100644 --- a/cake/tests/lib/code_coverage_manager.php +++ b/cake/tests/lib/code_coverage_manager.php @@ -498,7 +498,7 @@ class CodeCoverageManager { $folder =& new Folder(); $folder->cd(ROOT . DS . CAKE_TESTS_LIB); - $contents = $folder->ls(); + $contents = $folder->read(); if (in_array(basename($testFile), $contents[1])) { $testFile = basename($testFile);