mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Moving All Tasks suite.
This commit is contained in:
parent
d7b958f55d
commit
6124eb6f7a
1 changed files with 2 additions and 5 deletions
|
@ -34,15 +34,12 @@ class AllTasksTest extends PHPUnit_Framework_TestSuite {
|
|||
* @return void
|
||||
*/
|
||||
public static function suite() {
|
||||
$suite = new PHPUnit_Framework_TestSuite('All Tasks tests');
|
||||
$suite = new CakeTestSuite('All Tasks tests');
|
||||
|
||||
$path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'tasks' . DS;
|
||||
|
||||
$suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS . 'bake.test.php');
|
||||
$tasks = array('controller', 'extract', 'model', 'view', 'fixture', 'test', 'db_config', 'project', 'plugin');
|
||||
foreach ($tasks as $task) {
|
||||
$suite->addTestFile($path . $task . '.test.php');
|
||||
}
|
||||
$suite->addTestDirectory($path);
|
||||
return $suite;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue