Jordi Boggiano hace 6 años
padre
commit
bf33eec912
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/Composer/Test/EventDispatcher/EventDispatcherTest.php

+ 1 - 1
tests/Composer/Test/EventDispatcher/EventDispatcherTest.php

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