mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 10:03:32 -04:00
Fix theming tests for PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
5f3585d817
commit
f171de52b3
1 changed files with 5 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue