Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/tests')
-rw-r--r--apps/theming/tests/Controller/UserThemeControllerTest.php4
-rw-r--r--apps/theming/tests/Service/ThemesServiceTest.php10
-rw-r--r--apps/theming/tests/Settings/PersonalTest.php4
3 files changed, 9 insertions, 9 deletions
diff --git a/apps/theming/tests/Controller/UserThemeControllerTest.php b/apps/theming/tests/Controller/UserThemeControllerTest.php
index ffacf5108a5..a6f73a087fc 100644
--- a/apps/theming/tests/Controller/UserThemeControllerTest.php
+++ b/apps/theming/tests/Controller/UserThemeControllerTest.php
@@ -72,7 +72,7 @@ class UserThemeControllerTest extends TestCase {
'default' => $this->createMock(DefaultTheme::class),
'light' => $this->createMock(LightTheme::class),
'dark' => $this->createMock(DarkTheme::class),
- 'highcontrast' => $this->createMock(HighContrastTheme::class),
+ 'light-highcontrast' => $this->createMock(HighContrastTheme::class),
'dark-highcontrast' => $this->createMock(DarkHighContrastTheme::class),
'opendyslexic' => $this->createMock(DyslexiaFont::class),
];
@@ -102,7 +102,7 @@ class UserThemeControllerTest extends TestCase {
['default'],
['light'],
['dark'],
- ['highcontrast'],
+ ['light-highcontrast'],
['dark-highcontrast'],
['opendyslexic'],
['', OCSBadRequestException::class],
diff --git a/apps/theming/tests/Service/ThemesServiceTest.php b/apps/theming/tests/Service/ThemesServiceTest.php
index 90816ae2328..3be8881669a 100644
--- a/apps/theming/tests/Service/ThemesServiceTest.php
+++ b/apps/theming/tests/Service/ThemesServiceTest.php
@@ -84,7 +84,7 @@ class ThemesServiceTest extends TestCase {
'default',
'light',
'dark',
- 'highcontrast',
+ 'light-highcontrast',
'dark-highcontrast',
'opendyslexic',
];
@@ -98,7 +98,7 @@ class ThemesServiceTest extends TestCase {
['dark', [], ['dark']],
['dark', ['dark'], ['dark']],
['opendyslexic', ['dark'], ['dark', 'opendyslexic']],
- ['dark', ['highcontrast', 'opendyslexic'], ['opendyslexic', 'dark']],
+ ['dark', ['light-highcontrast', 'opendyslexic'], ['opendyslexic', 'dark']],
];
}
@@ -132,7 +132,7 @@ class ThemesServiceTest extends TestCase {
['dark', [], []],
['dark', ['dark'], []],
['opendyslexic', ['dark', 'opendyslexic'], ['dark'], ],
- ['highcontrast', ['opendyslexic'], ['opendyslexic']],
+ ['light-highcontrast', ['opendyslexic'], ['opendyslexic']],
];
}
@@ -167,7 +167,7 @@ class ThemesServiceTest extends TestCase {
['dark', [], false],
['dark', ['dark'], true],
['opendyslexic', ['dark', 'opendyslexic'], true],
- ['highcontrast', ['opendyslexic'], false],
+ ['light-highcontrast', ['opendyslexic'], false],
];
}
@@ -302,7 +302,7 @@ class ThemesServiceTest extends TestCase {
$this->config,
$l10n,
),
- 'highcontrast' => new HighContrastTheme(
+ 'light-highcontrast' => new HighContrastTheme(
$util,
$this->themingDefaults,
$urlGenerator,
diff --git a/apps/theming/tests/Settings/PersonalTest.php b/apps/theming/tests/Settings/PersonalTest.php
index 3051a210353..8e121c0a057 100644
--- a/apps/theming/tests/Settings/PersonalTest.php
+++ b/apps/theming/tests/Settings/PersonalTest.php
@@ -83,7 +83,7 @@ class PersonalTest extends TestCase {
$this->formatThemeForm('default'),
$this->formatThemeForm('light'),
$this->formatThemeForm('dark'),
- $this->formatThemeForm('highcontrast'),
+ $this->formatThemeForm('light-highcontrast'),
$this->formatThemeForm('dark-highcontrast'),
$this->formatThemeForm('opendyslexic'),
]],
@@ -162,7 +162,7 @@ class PersonalTest extends TestCase {
$config,
$l10n,
),
- 'highcontrast' => new HighContrastTheme(
+ 'light-highcontrast' => new HighContrastTheme(
$util,
$themingDefaults,
$urlGenerator,