From bf33eec912fcdd2cdfc903b5656596ad0202c718 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 3 Dec 2018 10:59:04 +0100 Subject: [PATCH] Fix tests --- tests/Composer/Test/EventDispatcher/EventDispatcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php b/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php index c3c20e7e8..7786e7807 100644 --- a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php +++ b/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php @@ -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;