Fix 5.3 build

main
Jordi Boggiano 5 years ago
parent d3f1c664d4
commit 4e667f891b
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -108,7 +108,7 @@ class ProcessExecutorTest extends TestCase
public function testConsoleIODoesNotFormatSymfonyConsoleStyle() public function testConsoleIODoesNotFormatSymfonyConsoleStyle()
{ {
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true); $output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput([]), $output, new HelperSet([]))); $process = new ProcessExecutor(new ConsoleIO(new ArrayInput(array()), $output, new HelperSet(array())));
$process->execute('echo \'<error>foo</error>\''); $process->execute('echo \'<error>foo</error>\'');
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch()); $this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());

Loading…
Cancel
Save