Mock method of actual cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
43243380f1
commit
17f75d6797
|
@ -466,11 +466,7 @@ class SCSSCacherTest extends \Test\TestCase {
|
|||
->method('getDirectoryListing')
|
||||
->willReturn([$file]);
|
||||
|
||||
$cache = $this->createMock(ICache::class);
|
||||
$this->cacheFactory->expects($this->once())
|
||||
->method('createDistributed')
|
||||
->willReturn($cache);
|
||||
$cache->expects($this->once())
|
||||
$this->depsCache->expects($this->once())
|
||||
->method('clear')
|
||||
->with('');
|
||||
$this->appData->expects($this->once())
|
||||
|
|
Loading…
Reference in New Issue