mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests and make TTY usage on ProcessExecutor cleaner
This commit is contained in:
parent
f572636628
commit
006c3de542
3 changed files with 44 additions and 5 deletions
|
@ -538,6 +538,10 @@ class EventDispatcherTest extends TestCase
|
|||
->willReturn('> exit 1');
|
||||
|
||||
$io->expects($this->at(2))
|
||||
->method('isInteractive')
|
||||
->willReturn(1);
|
||||
|
||||
$io->expects($this->at(3))
|
||||
->method('writeError')
|
||||
->with($this->equalTo('<error>Script '.$code.' handling the post-install-cmd event returned with error code 1</error>'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue