|
|
@ -205,7 +205,8 @@ class GitDownloaderTest extends \PHPUnit_Framework_TestCase
|
|
|
|
$filesystem = $this->getMock('Composer\Util\Filesystem');
|
|
|
|
$filesystem = $this->getMock('Composer\Util\Filesystem');
|
|
|
|
$filesystem->expects($this->any())
|
|
|
|
$filesystem->expects($this->any())
|
|
|
|
->method('removeDirectory')
|
|
|
|
->method('removeDirectory')
|
|
|
|
->with($this->equalTo('composerPath'));
|
|
|
|
->with($this->equalTo('composerPath'))
|
|
|
|
|
|
|
|
->will($this->returnValue(true));
|
|
|
|
|
|
|
|
|
|
|
|
$downloader = $this->getDownloaderMock(null, $processExecutor, $filesystem);
|
|
|
|
$downloader = $this->getDownloaderMock(null, $processExecutor, $filesystem);
|
|
|
|
$downloader->remove($packageMock, 'composerPath');
|
|
|
|
$downloader->remove($packageMock, 'composerPath');
|
|
|
|