Fixing the HelpFormatter test

This commit is contained in:
Jose Lorenzo Rodriguez 2011-03-08 14:43:00 -04:30
parent ac3caf3154
commit 9f189d39db
3 changed files with 5 additions and 3 deletions

View file

@ -137,7 +137,7 @@ class TestsuiteShell extends Shell {
))->addOption('bootstrap', array(
'help' => __('<file> A "bootstrap" PHP file that is run before the tests.'),
'default' => false
))->addOption('configuraion', array(
))->addOption('configuration', array(
'help' => __('<file> Read configuration from XML file.'),
'default' => false
))->addOption('no-configuration', array(

View file

@ -16,9 +16,11 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('TaskCollection', 'Console');
App::uses('ConsoleOutput', 'Console');
App::uses('ConsoleInput', 'Console');
App::uses('ConsoleInputSubcommand', 'Console');
App::uses('ConsoleInputOption', 'Console');
App::uses('ConsoleInputArgument', 'Console');
App::uses('ConsoleOptionParser', 'Console');

View file

@ -1,7 +1,7 @@
<?php
require_once CONSOLE_LIBS . 'console_option_parser.php';
require_once CONSOLE_LIBS . 'help_formatter.php';
App::uses('ConsoleOptionParser', 'Console');
App::uses('HelpFormatter', 'Console');
class HelpFormatterTest extends CakeTestCase {