Fixing deprecation error due to changes in API

This commit is contained in:
mark_story 2009-09-10 22:56:44 -04:00
parent 4ec75c6052
commit c49662e2ca

View file

@ -498,7 +498,7 @@ class CodeCoverageManager {
$folder =& new Folder(); $folder =& new Folder();
$folder->cd(ROOT . DS . CAKE_TESTS_LIB); $folder->cd(ROOT . DS . CAKE_TESTS_LIB);
$contents = $folder->ls(); $contents = $folder->read();
if (in_array(basename($testFile), $contents[1])) { if (in_array(basename($testFile), $contents[1])) {
$testFile = basename($testFile); $testFile = basename($testFile);