diff --git a/components/console/introduction.rst b/components/console/introduction.rst index 0f68f44ea81..52d9bc90490 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -460,7 +460,7 @@ method:: $command = $application->find('demo:greet'); $commandTester = new CommandTester($command); $commandTester->execute( - array('command' => $command->getName(), 'name' => 'Fabien') + array('command' => $command->getName(), 'name' => 'Fabien', '--iterations' => 5) ); $this->assertRegExp('/Fabien/', $commandTester->getDisplay());