diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-11-28 11:58:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 11:58:56 +0100 |
commit | 08587c9de681f3335d81c327fd524f229380067a (patch) | |
tree | 21e157653545506d422c33da805ca9fb2aabc1d2 | |
parent | 0696703a0adad27f529028350a8748062e6404c7 (diff) | |
parent | f171de52b385dd4c04884a4c039672babc28034e (diff) | |
download | nextcloud-server-08587c9de681f3335d81c327fd524f229380067a.tar.gz nextcloud-server-08587c9de681f3335d81c327fd524f229380067a.zip |
Merge pull request #35403 from nextcloud/fix/fix-theming-tests-for-8.2
Fix theming tests for PHP 8.2
-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()); } |