summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-11-07 10:11:50 +0100
committerGitHub <noreply@github.com>2020-11-07 10:11:50 +0100
commitd25e5366b801a2978e3f5887921bd0d04b51ca11 (patch)
tree30fa3e3b3cccdf793d586878d93a088302142e4b /tests
parent1d0db561dbea91dbb1a0339f33d681be32a5715e (diff)
parent3e6e9186d8d93fe86cfed3fab4bfc7b91cdf73ef (diff)
downloadnextcloud-server-d25e5366b801a2978e3f5887921bd0d04b51ca11.tar.gz
nextcloud-server-d25e5366b801a2978e3f5887921bd0d04b51ca11.zip
Merge pull request #23934 from nextcloud/enh/avoid_scss_compile
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))