summaryrefslogtreecommitdiffstats
path: root/tests/lib/Template/SCSSCacherTest.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-03-20 14:20:34 +0100
committerJulius Härtl <jus@bitgrid.net>2017-03-20 14:20:34 +0100
commita0f7d4b6888466600698a31a50a551f915c69045 (patch)
tree601b9daa9c4524df514d7bb6c521ec37d2301adc /tests/lib/Template/SCSSCacherTest.php
parent53c0fe6e23594f471f2b585219ec69778fc47234 (diff)
downloadnextcloud-server-a0f7d4b6888466600698a31a50a551f915c69045.tar.gz
nextcloud-server-a0f7d4b6888466600698a31a50a551f915c69045.zip
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/Template/SCSSCacherTest.php')
-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 4ed6d17ae70..d49f0cdc6a1 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -269,7 +269,7 @@ class SCSSCacherTest extends \Test\TestCase {
'fileName' => 'styles.css',
'appName' => $appName
])
- ->willReturn($result);
+ ->willReturn(\OC::$WEBROOT . $result);
$actual = $this->scssCacher->getCachedSCSS($appName, $fileName);
$this->assertEquals(substr($result, 1), $actual);
}