1
0
Fork 0
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:
Jordi Boggiano 2020-01-31 16:33:34 +01:00
parent f572636628
commit 006c3de542
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
3 changed files with 44 additions and 5 deletions

View file

@ -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>'));