diff --git a/cake/tests/lib/test_manager.php b/cake/tests/lib/test_manager.php index 9478246a5..42db7a6c6 100644 --- a/cake/tests/lib/test_manager.php +++ b/cake/tests/lib/test_manager.php @@ -252,7 +252,7 @@ class TestManager { * @static */ protected static function &_getTestFileList($directory = '.') { - $return = self::_getRecursiveFileList($directory, 'self::_isTestCaseFile'); + $return = self::_getRecursiveFileList($directory, array('self', '_isTestCaseFile')); return $return; } @@ -274,7 +274,7 @@ class TestManager { * @static */ protected static function &_getTestGroupFileList($directory = '.') { - $return = self::_getRecursiveFileList($directory, 'self::_isTestGroupFile'); + $return = self::_getRecursiveFileList($directory, array('self', '_isTestGroupFile')); return $return; }