aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Template/SCSSCacherTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index 77a9bdde764..4295c800d02 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -81,6 +81,11 @@ class SCSSCacherTest extends \Test\TestCase {
->willReturn('http://localhost/nextcloud');
$this->config = $this->createMock(IConfig::class);
+ $this->config->expects($this->any())
+ ->method('getAppValue')
+ ->will($this->returnCallback(function ($appId, $configKey, $defaultValue) {
+ return $defaultValue;
+ }));
$this->cacheFactory = $this->createMock(ICacheFactory::class);
$this->depsCache = $this->createMock(ICache::class);
$this->cacheFactory->expects($this->at(0))