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