1
0
Fork 0
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:
Jordi Boggiano 2012-09-08 00:45:18 +02:00
parent 7023767501
commit 056dc5d690
5 changed files with 18 additions and 23 deletions

View file

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