From 9030c6bdfd7c25bd110252d17511a1f9ea3d752c Mon Sep 17 00:00:00 2001 From: Alden Weddleton Date: Wed, 20 Nov 2019 09:31:16 -0500 Subject: [PATCH] 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. --- console.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/console.rst b/console.rst index ee971da513b..2dadcbb5daf 100644 --- a/console.rst +++ b/console.rst @@ -286,8 +286,6 @@ console:: $command = $application->find('app:create-user'); $commandTester = new CommandTester($command); $commandTester->execute([ - 'command' => $command->getName(), - // pass arguments to the helper 'username' => 'Wouter',