mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing the HelpFormatter test
This commit is contained in:
parent
ac3caf3154
commit
9f189d39db
3 changed files with 5 additions and 3 deletions
|
@ -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(
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue