From f171de52b385dd4c04884a4c039672babc28034e Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Thu, 24 Nov 2022 12:20:27 +0100 Subject: [PATCH] Fix theming tests for PHP 8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/theming/tests/ThemingDefaultsTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index 445ffd2b0a7..fafa1fd450c 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -461,6 +461,11 @@ class ThemingDefaultsTest extends TestCase { ['theming', 'disable-user-theming', 'no', 'no'], ['theming', 'color', '', ''], ]); + $this->config + ->expects($this->once()) + ->method('getUserValue') + ->with('user', 'theming', 'background') + ->willReturn(''); $this->assertEquals(BackgroundService::DEFAULT_COLOR, $this->template->getColorPrimary()); } -- 2.39.5