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:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-09 16:43:54 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-09 16:43:54 +0300
commit43243380f1b29e7a927b5e589c052e4b64b22b5d (patch)
tree92e6b0bff8ba7873f7f193d37ceb58b94fa9d5a6 /tests
parent88e9542d12827461d74fb9d0e72694f5f8911f45 (diff)
Always return the depscache
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Template/SCSSCacherTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index 169ee26802a..9eb6c5a5200 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -65,7 +65,7 @@ class SCSSCacherTest extends \Test\TestCase {
$this->config = $this->createMock(IConfig::class);
$this->cacheFactory = $this->createMock(ICacheFactory::class);
$this->depsCache = $this->createMock(ICache::class);
- $this->cacheFactory->expects($this->at(0))
+ $this->cacheFactory
->method('createDistributed')
->willReturn($this->depsCache);
$this->themingDefaults = $this->createMock(ThemingDefaults::class);