mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Package options must be passed as argument to downloader
This commit is contained in:
parent
2e2b66b16e
commit
d4043b6b9a
3 changed files with 14 additions and 2 deletions
|
@ -30,6 +30,10 @@ class ZipDownloaderTest extends \PHPUnit_Framework_TestCase
|
|||
->method('getDistUrl')
|
||||
->will($this->returnValue('file://'.__FILE__))
|
||||
;
|
||||
$packageMock->expects($this->atLeastOnce())
|
||||
->method('getOptions')
|
||||
->will($this->returnValue(array()))
|
||||
;
|
||||
|
||||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$config = $this->getMock('Composer\Config');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue