mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Merge branch 'master' into 2.0
This commit is contained in:
commit
45ecbae8f5
64 changed files with 377 additions and 612 deletions
|
@ -108,14 +108,8 @@ class CacheTest extends TestCase
|
|||
|
||||
public function testClearCache()
|
||||
{
|
||||
$this->filesystem
|
||||
->method('removeDirectory')
|
||||
->with($this->root.'/')
|
||||
->willReturn(true);
|
||||
|
||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
$this->cache = new Cache($io, $this->root, 'a-z0-9.', $this->filesystem);
|
||||
|
||||
$this->assertTrue($this->cache->clear());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue