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
|
@ -133,7 +133,7 @@ class PearRepositoryTest extends TestCase
|
|||
|
||||
$config = new \Composer\Config();
|
||||
|
||||
$this->remoteFilesystem = $this->getMockBuilder('Composer\Util\RemoteFilesystem')
|
||||
$this->httpDownloader = $this->getMockBuilder('Composer\Util\HttpDownloader')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
|
@ -143,6 +143,6 @@ class PearRepositoryTest extends TestCase
|
|||
protected function tearDown()
|
||||
{
|
||||
$this->repository = null;
|
||||
$this->remoteFilesystem = null;
|
||||
$this->httpDownloader = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue