mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
add isProxyCommand() to BaseCommand
This commit is contained in:
parent
d07b4e0f3e
commit
92207da83a
5 changed files with 51 additions and 14 deletions
|
@ -25,6 +25,11 @@ class ApplicationTest extends TestCase
|
|||
$inputMock = $this->getMock('Symfony\Component\Console\Input\InputInterface');
|
||||
$outputMock = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
|
||||
|
||||
$inputMock->expects($this->once())
|
||||
->method('hasParameterOption')
|
||||
->with($this->equalTo('--no-plugins'))
|
||||
->will($this->returnValue(true));
|
||||
|
||||
$inputMock->expects($this->once())
|
||||
->method('getFirstArgument')
|
||||
->will($this->returnValue('list'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue