Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

fixes #3955
  • Loading branch information...
commit d218313cf589e4bb325d5584c380e13ecb53ae34 1 parent cd4f4de
@lorenzo lorenzo authored
Showing with 0 additions and 18 deletions.
  1. +0 −18 lib/Cake/TestSuite/CakeTestSuiteCommand.php
View
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();
Please sign in to comment.
Something went wrong with that request. Please try again.