diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-24 12:20:27 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-24 12:20:27 +0100 |
commit | f171de52b385dd4c04884a4c039672babc28034e (patch) | |
tree | dcbaccacc8df0b2bb0cfbbacd049175254ff2aea /apps/theming/tests | |
parent | 5f3585d8175bab56899883457313fafa442fc9dc (diff) | |
download | nextcloud-server-f171de52b385dd4c04884a4c039672babc28034e.tar.gz nextcloud-server-f171de52b385dd4c04884a4c039672babc28034e.zip |
Fix theming tests for PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r-- | apps/theming/tests/ThemingDefaultsTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
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()); } |