mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests
This commit is contained in:
parent
9371253e38
commit
6aaa523c0d
2 changed files with 4 additions and 2 deletions
|
@ -111,7 +111,8 @@ class HgDownloaderTest extends \PHPUnit_Framework_TestCase
|
|||
$filesystem = $this->getMock('Composer\Util\Filesystem');
|
||||
$filesystem->expects($this->any())
|
||||
->method('removeDirectory')
|
||||
->with($this->equalTo('composerPath'));
|
||||
->with($this->equalTo('composerPath'))
|
||||
->will($this->returnValue(true));
|
||||
|
||||
$downloader = $this->getDownloaderMock(null, $processExecutor, $filesystem);
|
||||
$downloader->remove($packageMock, 'composerPath');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue