"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/framework/console/controllers/HelpControllerTest.php" between
yii2-2.0.35.tar.gz and yii2-2.0.36.tar.gz

About: Yii 2 is a high-performance component-based PHP framework for developing large-scale Web applications (source).

HelpControllerTest.php  (yii2-2.0.35):HelpControllerTest.php  (yii2-2.0.36)
skipping to change at line 131 skipping to change at line 131
'cache' => 'yii\console\controllers\CacheController', 'cache' => 'yii\console\controllers\CacheController',
], ],
]); ]);
$result = Console::stripAnsiFormat($this->runControllerAction('list-acti on-options', ['action' => 'help/list-action-options'])); $result = Console::stripAnsiFormat($this->runControllerAction('list-acti on-options', ['action' => 'help/list-action-options']));
$this->assertEqualsWithoutLE(<<<'STRING' $this->assertEqualsWithoutLE(<<<'STRING'
action:route to action action:route to action
--interactive: whether to run the command interactively. --interactive: whether to run the command interactively.
--color: whether to enable ANSI color in the output.If not set, ANSI color will only be enabled for terminals that support it. --color: whether to enable ANSI color in the output.If not set, ANSI color will only be enabled for terminals that support it.
--help: whether to display help information about current command. --help: whether to display help information about current command.
--silent-exit-on-exception: if true - script finish with `ExitCode\:\:OK` in cas e of exception.false - `ExitCode\:\:UNSPECIFIED_ERROR`.Default\: `YII_ENV_TEST`
STRING STRING
, $result); , $result);
} }
public function testActionUsage() public function testActionUsage()
{ {
$this->mockApplication([ $this->mockApplication([
'enableCoreCommands' => false, 'enableCoreCommands' => false,
'controllerMap' => [ 'controllerMap' => [
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)