mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing search of test cases and groups for PHP 5.2.
This commit is contained in:
parent
689e46be4f
commit
db4f7a2625
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue