Procházet zdrojové kódy

Fix theming tests for PHP 8.2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tags/v26.0.0beta1
Côme Chilliet před 1 rokem
rodič
revize
f171de52b3
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5
    0
      apps/theming/tests/ThemingDefaultsTest.php

+ 5
- 0
apps/theming/tests/ThemingDefaultsTest.php Zobrazit soubor

@@ -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());
}

Načítá se…
Zrušit
Uložit