Skip to content

Commit c29f779

Browse files
committed
bug #14205 Fix currently broken tests (mpdude)
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #14205). Discussion ---------- Fix currently broken tests Glitch from 8f72338 Commits ------- 1122160 Fix currently broken tests
2 parents 7adba99 + 1122160 commit c29f779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Tester/CommandTester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function execute(array $input, array $options = array())
6161
&& (null !== $application = $this->command->getApplication())
6262
&& $application->getDefinition()->hasArgument('command')
6363
) {
64-
$input['command'] = $this->command->getName();
64+
$input = array_merge(array('command' => $this->command->getName()), $input);
6565
}
6666

6767
$this->input = new ArrayInput($input);

0 commit comments

Comments
 (0)