Skip to content

Commit 53fc0b9

Browse files
committed
Fix spelling error & use both lower & uppercase
1 parent 535d25b commit 53fc0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/tests/Unit/Utils/UtilsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ public function testApcaContrast(): void
368368

369369
public function testHexToForegroundAndBorder(): void
370370
{
371-
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#ffffff"));
371+
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#fffDDD"));
372372
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#000000"));
373-
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#AFE"));
373+
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#ABC"));
374374
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#1239"));
375375
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#10203040"));
376376
}

0 commit comments

Comments
 (0)