aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 09:51:34 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 11:26:27 +0100
commita869259e411486486fb1206dfa74f5363834d92f (patch)
tree7ea353549158dc5898d917452f8b9c6970438c87 /apps/theming/tests
parent064fa10ecfe4725398895a21ab8bafd171e2eadd (diff)
downloadnextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.tar.gz
nextcloud-server-a869259e411486486fb1206dfa74f5363834d92f.zip
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r--apps/theming/tests/Themes/DefaultThemeTest.php2
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/tests/Themes/DefaultThemeTest.php b/apps/theming/tests/Themes/DefaultThemeTest.php
index 2a62211f268..6044f5c10d3 100644
--- a/apps/theming/tests/Themes/DefaultThemeTest.php
+++ b/apps/theming/tests/Themes/DefaultThemeTest.php
@@ -85,7 +85,7 @@ class DefaultThemeTest extends TestCase {
$this->themingDefaults
->expects($this->any())
->method('getBackground')
- ->willReturn('/apps/' . Application::APP_ID . '/img/background/' . BackgroundService::DEFAULT_BACKGROUND);
+ ->willReturn('/apps/' . Application::APP_ID . '/img/background/' . BackgroundService::DEFAULT_BACKGROUND_IMAGE);
$this->l10n
->expects($this->any())
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index 04fce553c33..cf6b6492c11 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -464,7 +464,7 @@ class ThemingDefaultsTest extends TestCase {
$this->config
->expects($this->once())
->method('getUserValue')
- ->with('user', 'theming', 'background')
+ ->with('user', 'theming', 'background_color')
->willReturn('');
$this->assertEquals(BackgroundService::DEFAULT_COLOR, $this->template->getColorPrimary());