From d5ed45c3c7e5a08ee2efd1f3cbb25783ccee133b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 5 May 2016 13:37:01 +0100 Subject: [PATCH] Fix test --- tests/Composer/Test/EventDispatcher/EventDispatcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php b/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php index 7101350de..7d31a0860 100644 --- a/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php +++ b/tests/Composer/Test/EventDispatcher/EventDispatcherTest.php @@ -289,7 +289,7 @@ class EventDispatcherTest extends TestCase $io->expects($this->at(2)) ->method('writeError') - ->with($this->equalTo('Script '.$code.' handling the post-install-cmd event returned with an error')); + ->with($this->equalTo('Script '.$code.' handling the post-install-cmd event returned with error code 1')); $this->setExpectedException('RuntimeException'); $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);