Jordi Boggiano 8 years ago
parent
commit
d5ed45c3c7
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

@@ -289,7 +289,7 @@ class EventDispatcherTest extends TestCase
 
         $io->expects($this->at(2))
             ->method('writeError')
-            ->with($this->equalTo('<error>Script '.$code.' handling the post-install-cmd event returned with an error</error>'));
+            ->with($this->equalTo('<error>Script '.$code.' handling the post-install-cmd event returned with error code 1</error>'));
 
         $this->setExpectedException('RuntimeException');
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);