소스 검색

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');