Browse Source

Fix expectation

Jordi Boggiano 5 years ago
parent
commit
f91859ceff
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

@@ -452,7 +452,7 @@ class EventDispatcherTest extends TestCase
             ->with($this->equalTo('> echo foo'));
 
         $io->expects($this->once())
-            ->method('write')
+            ->method('writeRaw')
             ->with($this->equalTo('foo'.PHP_EOL), false);
 
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);