From a869259e411486486fb1206dfa74f5363834d92f Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Tue, 29 Nov 2022 09:51:34 +0100 Subject: More theming cypress tests and some fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/theming/tests/Themes/DefaultThemeTest.php | 2 +- apps/theming/tests/ThemingDefaultsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/theming/tests') 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()); -- cgit v1.2.3