瀏覽代碼

Target error capture more specifically

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

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

@@ -51,7 +51,7 @@ class EventDispatcherTest extends TestCase
     }
 
     /**
-     * @expectedException PHPUnit_Framework_Error
+     * @expectedException PHPUnit_Framework_Error_Deprecated
      */
     public function testDispatcherCanConvertScriptEventToCommandEventForListener()
     {