aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/CapabilitiesTest.php
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-05-10 20:28:57 +0200
committerSimon L <szaimen@e.mail.de>2023-05-11 14:15:47 +0200
commit4a89b7ea222d1f7c49dede74e11b88776482f389 (patch)
tree20177742ad78c48c63aaa41aa051c5d0277429c2 /apps/theming/tests/CapabilitiesTest.php
parenteb8770584e76886e8107837f9987c2ccfa82d516 (diff)
downloadnextcloud-server-4a89b7ea222d1f7c49dede74e11b88776482f389.tar.gz
nextcloud-server-4a89b7ea222d1f7c49dede74e11b88776482f389.zip
adjust tests
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/theming/tests/CapabilitiesTest.php')
-rw-r--r--apps/theming/tests/CapabilitiesTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php
index 1c968383d53..1a2d01d69d1 100644
--- a/apps/theming/tests/CapabilitiesTest.php
+++ b/apps/theming/tests/CapabilitiesTest.php
@@ -77,8 +77,8 @@ class CapabilitiesTest extends TestCase {
'slogan' => 'slogan',
'color' => '#FFFFFF',
'color-text' => '#000000',
- 'color-element' => '#aaaaaa',
- 'color-element-bright' => '#aaaaaa',
+ 'color-element' => '#b3b3b3',
+ 'color-element-bright' => '#b3b3b3',
'color-element-dark' => '#FFFFFF',
'logo' => 'http://absolute/logo',
'background' => 'http://absolute/background',
@@ -109,9 +109,9 @@ class CapabilitiesTest extends TestCase {
'slogan' => 'slogan3',
'color' => '#000000',
'color-text' => '#ffffff',
- 'color-element' => '#000000',
- 'color-element-bright' => '#000000',
- 'color-element-dark' => '#8c8c8c',
+ 'color-element' => '#4d4d4d',
+ 'color-element-bright' => '#4d4d4d',
+ 'color-element-dark' => '#4d4d4d',
'logo' => 'http://localhost/logo5',
'background' => '#000000',
'background-plain' => true,
@@ -125,9 +125,9 @@ class CapabilitiesTest extends TestCase {
'slogan' => 'slogan3',
'color' => '#000000',
'color-text' => '#ffffff',
- 'color-element' => '#000000',
- 'color-element-bright' => '#000000',
- 'color-element-dark' => '#8c8c8c',
+ 'color-element' => '#4d4d4d',
+ 'color-element-bright' => '#4d4d4d',
+ 'color-element-dark' => '#4d4d4d',
'logo' => 'http://localhost/logo5',
'background' => '#000000',
'background-plain' => true,
@@ -178,7 +178,7 @@ class CapabilitiesTest extends TestCase {
$this->util->expects($this->exactly(3))
->method('elementColor')
->with($color)
- ->willReturnCallback(static function (string $color, bool $brightBackground = true) use ($util) {
+ ->willReturnCallback(static function (string $color, ?bool $brightBackground = null) use ($util) {
return $util->elementColor($color, $brightBackground);
});