1
0
Fork 0

Fix tests

pull/7830/head
Jordi Boggiano 2018-12-03 10:59:04 +01:00
parent 411dd51f20
commit bf33eec912
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class EventDispatcherTest extends TestCase
return array();
}));
$dispatcher->dispatch('helloWorld', new CommandEvent('helloWorld', $composer, $io));
$dispatcher->dispatch('helloWorld', new ScriptEvent('helloWorld', $composer, $io));
$expected = "> helloWorld: @hello World".PHP_EOL.
"> hello: echo Hello " .escapeshellarg('World').PHP_EOL;