From e6c6d25b599da56ccc17def8c82fe88d3130210e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 24 Apr 2016 15:55:03 +0100 Subject: [PATCH] Fix tests --- tests/Composer/Test/EventDispatcher/EventDispatcherTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php b/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php index 490b589ce..b466a1b7d 100644 --- a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php +++ b/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');