mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06: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
|
* @static
|
||||||
*/
|
*/
|
||||||
protected static function &_getTestFileList($directory = '.') {
|
protected static function &_getTestFileList($directory = '.') {
|
||||||
$return = self::_getRecursiveFileList($directory, 'self::_isTestCaseFile');
|
$return = self::_getRecursiveFileList($directory, array('self', '_isTestCaseFile'));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ class TestManager {
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
protected static function &_getTestGroupFileList($directory = '.') {
|
protected static function &_getTestGroupFileList($directory = '.') {
|
||||||
$return = self::_getRecursiveFileList($directory, 'self::_isTestGroupFile');
|
$return = self::_getRecursiveFileList($directory, array('self', '_isTestGroupFile'));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue