Parcourir la source

Fix expectation

Jordi Boggiano il y a 5 ans
Parent
commit
f91859ceff
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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'));
             ->with($this->equalTo('> echo foo'));
 
 
         $io->expects($this->once())
         $io->expects($this->once())
-            ->method('write')
+            ->method('writeRaw')
             ->with($this->equalTo('foo'.PHP_EOL), false);
             ->with($this->equalTo('foo'.PHP_EOL), false);
 
 
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);
         $dispatcher->dispatchScript(ScriptEvents::POST_INSTALL_CMD, false);