mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests for reals
This commit is contained in:
parent
d3dc280322
commit
a403ee9b0e
1 changed files with 8 additions and 8 deletions
|
@ -28,15 +28,15 @@ class ApplicationTest extends TestCase
|
|||
putenv('COMPOSER_NO_INTERACTION=1');
|
||||
|
||||
$index = 0;
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('setInteractive')
|
||||
->with($this->equalTo(false));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('hasParameterOption')
|
||||
->with($this->equalTo('--no-plugins'))
|
||||
->will($this->returnValue(true));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('setInteractive')
|
||||
->with($this->equalTo(false));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('hasParameterOption')
|
||||
->with($this->equalTo('--no-cache'))
|
||||
|
@ -92,15 +92,15 @@ class ApplicationTest extends TestCase
|
|||
putenv('COMPOSER_NO_INTERACTION=1');
|
||||
|
||||
$index = 0;
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('setInteractive')
|
||||
->with($this->equalTo(false));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('hasParameterOption')
|
||||
->with($this->equalTo('--no-plugins'))
|
||||
->will($this->returnValue(true));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('setInteractive')
|
||||
->with($this->equalTo(false));
|
||||
|
||||
$inputMock->expects($this->at($index++))
|
||||
->method('hasParameterOption')
|
||||
->with($this->equalTo('--no-cache'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue