Skip to content

Commit

Permalink
Removing legacy code that will not work on current versions of phpunit,
Browse files Browse the repository at this point in the history
fixes #3955
  • Loading branch information
lorenzo committed Aug 2, 2013
1 parent cd4f4de commit d218313
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/Cake/TestSuite/CakeTestSuiteCommand.php
Expand Up @@ -75,24 +75,6 @@ public function run(array $argv, $exit = true) {
);
}

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();

Expand Down

0 comments on commit d218313

Please sign in to comment.