Skip to content

Commit 9030c6b

Browse files
aldenwwouterj
authored andcommitted
remove 'command' from execute argument
Including the 'command' argument triggers an exception, "Symfony\Component\Console\Exception\InvalidArgumentException : The "command" argument does not exist.", needs to be removed.
1 parent d7adc5a commit 9030c6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

console.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ console::
286286
$command = $application->find('app:create-user');
287287
$commandTester = new CommandTester($command);
288288
$commandTester->execute([
289-
'command' => $command->getName(),
290-
291289
// pass arguments to the helper
292290
'username' => 'Wouter',
293291

0 commit comments

Comments
 (0)