Browse Source

Target error capture more specifically

Jordi Boggiano 9 years ago
parent
commit
5c9c910240
1 changed files with 1 additions and 1 deletions
  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()
     {