瀏覽代碼

Fix tests

Jordi Boggiano 9 年之前
父節點
當前提交
e6c6d25b59
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/Composer/Test/EventDispatcher/EventDispatcherTest.php

+ 3 - 0
tests/Composer/Test/EventDispatcher/EventDispatcherTest.php

@@ -50,6 +50,9 @@ class EventDispatcherTest extends TestCase
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);
     }
 
+    /**
+     * @expectedException PHPUnit_Framework_Error
+     */
     public function testDispatcherCanConvertScriptEventToCommandEventForListener()
     {
         $io = $this->getMock('Composer\IO\IOInterface');