mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing legacy code that will not work on current versions of phpunit,
fixes #3955
This commit is contained in:
parent
cd4f4de063
commit
d218313cf5
1 changed files with 0 additions and 18 deletions
|
@ -75,24 +75,6 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
|||
);
|
||||
}
|
||||
|
||||
if (!count($suite)) {
|
||||
$skeleton = new PHPUnit_Util_Skeleton_Test(
|
||||
$suite->getName(),
|
||||
$this->arguments['testFile']
|
||||
);
|
||||
|
||||
$result = $skeleton->generate(true);
|
||||
|
||||
if (!$result['incomplete']) {
|
||||
//@codingStandardsIgnoreStart
|
||||
eval(str_replace(array('<?php', '?>'), '', $result['code']));
|
||||
//@codingStandardsIgnoreEnd
|
||||
$suite = new PHPUnit_Framework_TestSuite(
|
||||
$this->arguments['test'] . 'Test'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->arguments['listGroups']) {
|
||||
PHPUnit_TextUI_TestRunner::printVersionString();
|
||||
|
||||
|
|
Loading…
Reference in a new issue