summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-26 20:13:28 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-02 13:06:50 +0100
commit7870cc2b67839de486c2dfd8eb9ab4ddae1f188b (patch)
tree5c4c84f9b69366d1809cedc4a3ed8f0e9dd84e34 /apps/theming
parent9915ebb75f4da12f6e18223e27a3a9ed81a779ae (diff)
downloadnextcloud-server-7870cc2b67839de486c2dfd8eb9ab4ddae1f188b.tar.gz
nextcloud-server-7870cc2b67839de486c2dfd8eb9ab4ddae1f188b.zip
Fix theming tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index d0dc6587f74..1a4679a2993 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -517,18 +517,12 @@ class ThemingDefaultsTest extends TestCase {
['theming.Theming.getLoginBackground', [], 'custom-background'],
]);
- $this->urlGenerator->expects($this->exactly(2))
- ->method('getAbsoluteURL')
- ->willReturnCallback(function ($path) {
- return 'absolute-' . $path;
- });
-
$expected = [
'theming-cachebuster' => '\'0\'',
'theming-logo-mime' => '\'jpeg\'',
'theming-background-mime' => '\'jpeg\'',
- 'image-logo' => "'absolute-custom-logo?v=0'",
- 'image-login-background' => "'absolute-custom-background?v=0'",
+ 'image-logo' => "'custom-logo?v=0'",
+ 'image-login-background' => "'custom-background?v=0'",
'color-primary' => $this->defaults->getColorPrimary(),
'color-primary-text' => '#ffffff',
'image-login-plain' => 'false',