diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-12 14:45:21 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-12 14:45:21 +0200 |
commit | fb6105ba4bc563e3430a7b4ec1b142149c4c20ed (patch) | |
tree | 1324e02217ea280066f064c426ef51185a1db4df /apps/theming | |
parent | f410f49375a76ebbeedc863a14ab5efaa95206b6 (diff) | |
download | nextcloud-server-fb6105ba4bc563e3430a7b4ec1b142149c4c20ed.tar.gz nextcloud-server-fb6105ba4bc563e3430a7b4ec1b142149c4c20ed.zip |
test(theming): Fix unit tests for personal settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/tests/Settings/PersonalTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/theming/tests/Settings/PersonalTest.php b/apps/theming/tests/Settings/PersonalTest.php index 043b2a2184e..d9327eaed80 100644 --- a/apps/theming/tests/Settings/PersonalTest.php +++ b/apps/theming/tests/Settings/PersonalTest.php @@ -120,15 +120,15 @@ class PersonalTest extends TestCase { $this->config->expects($this->exactly(2)) ->method('getUserValue') ->willReturnMap([ - ['admin', 'core', 'apporder', '[]'], - ['admin', 'theming', 'force_enable_blur_filter', ''], + ['admin', 'core', 'apporder', '[]', '[]'], + ['admin', 'theming', 'force_enable_blur_filter', '', ''], ]); $this->appManager->expects($this->once()) ->method('getDefaultAppForUser') ->willReturn('forcedapp'); - $this->initialStateService->expects($this->exactly(4)) + $this->initialStateService->expects($this->exactly(5)) ->method('provideInitialState') ->willReturnMap([ ['themes', $themesState], |