mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Minor fixes and updated the rest of the code/tests to use HttpDownloader
This commit is contained in:
parent
56805ecafe
commit
713bc4de1d
51 changed files with 461 additions and 436 deletions
|
@ -21,7 +21,9 @@ class RepositoryFactoryTest extends TestCase
|
|||
{
|
||||
$manager = RepositoryFactory::manager(
|
||||
$this->getMockBuilder('Composer\IO\IOInterface')->getMock(),
|
||||
$this->getMockBuilder('Composer\Config')->getMock()
|
||||
$this->getMockBuilder('Composer\Config')->getMock(),
|
||||
$this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(),
|
||||
$this->getMockBuilder('Composer\EventDispatcher\EventDispatcher')->disableOriginalConstructor()->getMock()
|
||||
);
|
||||
|
||||
$ref = new \ReflectionProperty($manager, 'repositoryClasses');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue