diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:06:28 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:08:21 +0100 |
commit | c79a6b3f62948075f7ce67a0294b0410fd61af3d (patch) | |
tree | d67ee83d8c0fd892ce722b40b3f859d76ff20ebe /apps/theming/tests/Settings | |
parent | 70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff) | |
download | nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.tar.gz nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.zip |
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/theming/tests/Settings')
-rw-r--r-- | apps/theming/tests/Settings/PersonalTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/theming/tests/Settings/PersonalTest.php b/apps/theming/tests/Settings/PersonalTest.php index f8f6052a0f8..4e9be5ef994 100644 --- a/apps/theming/tests/Settings/PersonalTest.php +++ b/apps/theming/tests/Settings/PersonalTest.php @@ -54,6 +54,7 @@ class PersonalTest extends TestCase { private ThemesService $themesService; private IInitialState $initialStateService; private ThemingDefaults $themingDefaults; + private Personal $admin; /** @var ITheme[] */ private $themes; @@ -144,7 +145,7 @@ class PersonalTest extends TestCase { $themingDefaults->expects($this->any()) ->method('getColorPrimary') ->willReturn('#0082c9'); - + $themingDefaults->expects($this->any()) ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); |