From 1122160d9ed4c75fa490c54c7707166da771a42e Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Fri, 3 Apr 2015 22:48:09 +0200 Subject: [PATCH] Fix currently broken tests --- src/Symfony/Component/Console/Tester/CommandTester.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Console/Tester/CommandTester.php b/src/Symfony/Component/Console/Tester/CommandTester.php index a6d5359452..8d6486e11c 100644 --- a/src/Symfony/Component/Console/Tester/CommandTester.php +++ b/src/Symfony/Component/Console/Tester/CommandTester.php @@ -61,7 +61,7 @@ class CommandTester && (null !== $application = $this->command->getApplication()) && $application->getDefinition()->hasArgument('command') ) { - $input['command'] = $this->command->getName(); + $input = array_merge(array('command' => $this->command->getName()), $input); } $this->input = new ArrayInput($input);