From d218313cf589e4bb325d5584c380e13ecb53ae34 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Fri, 2 Aug 2013 12:21:26 +0200 Subject: [PATCH] Removing legacy code that will not work on current versions of phpunit, fixes #3955 --- lib/Cake/TestSuite/CakeTestSuiteCommand.php | 18 ------------------ 1 file changed, 18 deletions(-) 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();