diff --git a/lib/Cake/TestSuite/CakeTestSuiteCommand.php b/lib/Cake/TestSuite/CakeTestSuiteCommand.php index ab8fca7c2..fd365fdee 100644 --- a/lib/Cake/TestSuite/CakeTestSuiteCommand.php +++ b/lib/Cake/TestSuite/CakeTestSuiteCommand.php @@ -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(''), '', $result['code'])); - //@codingStandardsIgnoreEnd - $suite = new PHPUnit_Framework_TestSuite( - $this->arguments['test'] . 'Test' - ); - } - } - if ($this->arguments['listGroups']) { PHPUnit_TextUI_TestRunner::printVersionString();