소스 검색

Fix expectation

Jordi Boggiano 5 년 전
부모
커밋
f91859ceff
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);