1
0
Fork 0
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:
Luís Otávio Cobucci Oblonczyk 2013-08-19 04:38:25 -03:00
parent 2e2b66b16e
commit d4043b6b9a
3 changed files with 14 additions and 2 deletions

View file

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