mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
fix risky tests (without any assertion)
This commit is contained in:
parent
db32d6bc18
commit
58b34d13e8
11 changed files with 33 additions and 16 deletions
|
@ -153,7 +153,7 @@ class FossilDownloaderTest extends TestCase
|
|||
->method('execute')
|
||||
->with($this->equalTo($expectedResetCommand));
|
||||
$filesystem = $this->getMockBuilder('Composer\Util\Filesystem')->getMock();
|
||||
$filesystem->expects($this->any())
|
||||
$filesystem->expects($this->once())
|
||||
->method('removeDirectory')
|
||||
->with($this->equalTo('composerPath'))
|
||||
->will($this->returnValue(true));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue