Skip to content
Permalink
Browse files

Removing legacy code that will not work on current versions of phpunit,

fixes #3955
  • Loading branch information...
lorenzo committed Aug 2, 2013
1 parent cd4f4de commit d218313cf589e4bb325d5584c380e13ecb53ae34
Showing with 0 additions and 18 deletions.
  1. +0 −18 lib/Cake/TestSuite/CakeTestSuiteCommand.php
@@ -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();

0 comments on commit d218313

Please sign in to comment.
You can’t perform that action at this time.