summaryrefslogtreecommitdiffstats
path: root/tests/lib/Template
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-08-01 12:42:49 +0200
committerJulius Härtl <jus@bitgrid.net>2018-08-01 12:42:49 +0200
commit6ce474518cdf0ff9377081e99ecf6a1eb3cb43a1 (patch)
tree185a0640e4d531af350970a0310c4c5ebe3a27f4 /tests/lib/Template
parent27d4ff8b4eb9c4c480faf0f112fc931dc7fdc343 (diff)
downloadnextcloud-server-6ce474518cdf0ff9377081e99ecf6a1eb3cb43a1.tar.gz
nextcloud-server-6ce474518cdf0ff9377081e99ecf6a1eb3cb43a1.zip
Append cache bump parameter to scss files URL
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/Template')
-rw-r--r--tests/lib/Template/SCSSCacherTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index 2389d8ec881..d84b96773bc 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -458,7 +458,8 @@ class SCSSCacherTest extends \Test\TestCase {
->with('core.Css.getCss', [
'fileName' => substr(md5($version), 0, 4) . '-' .
substr(md5('http://localhost/nextcloud/index.php'), 0, 4) . '-styles.css',
- 'appName' => $appName
+ 'appName' => $appName,
+ 'v' => 0,
])
->willReturn(\OC::$WEBROOT . $result);
$actual = $this->scssCacher->getCachedSCSS($appName, $fileName);