浏览代码

Fix tests

Jordi Boggiano 6 年之前
父节点
当前提交
bf33eec912
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();
             }));
 
-        $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;