diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-11-07 10:11:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 10:11:50 +0100 |
commit | d25e5366b801a2978e3f5887921bd0d04b51ca11 (patch) | |
tree | 30fa3e3b3cccdf793d586878d93a088302142e4b /tests | |
parent | 1d0db561dbea91dbb1a0339f33d681be32a5715e (diff) | |
parent | 3e6e9186d8d93fe86cfed3fab4bfc7b91cdf73ef (diff) | |
download | nextcloud-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.php | 5 |
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)) |