mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Move config to all VcsDownloaders, enforce array for github-protocols
This commit is contained in:
parent
7023767501
commit
056dc5d690
5 changed files with 18 additions and 23 deletions
|
@ -152,7 +152,7 @@ class GitDownloaderTest extends \PHPUnit_Framework_TestCase
|
|||
->will($this->returnValue(0));
|
||||
|
||||
$config = new Config();
|
||||
$config->merge(array('config' => array('github-protocols' => 'http')));
|
||||
$config->merge(array('config' => array('github-protocols' => array('http'))));
|
||||
|
||||
$downloader = $this->getDownloaderMock(null, $config, $processExecutor);
|
||||
$downloader->download($packageMock, 'composerPath');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue