Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-09 17:36:53 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-03-09 17:36:53 +0300
commit17f75d67975025f4d0660eb2ba78305a7839ec68 (patch)
tree87e426d87325c3b6c3a95ac91c0978e33e59a763 /tests
parent43243380f1b29e7a927b5e589c052e4b64b22b5d (diff)
Mock method of actual cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Template/SCSSCacherTest.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index 9eb6c5a5200..adf49eec796 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -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())