Skip to content

Commit e299ac3

Browse files
committed
Fixup
1 parent 85b6db1 commit e299ac3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webapp/tests/Unit/Utils/UtilsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,10 @@ public function testApcaContrast(): void
374374
public function testHexToForegroundAndBorder(): void
375375
{
376376
self::assertEquals(["#ffffff", "#bfbd9dff"], Utils::hexToForegroundAndBorder("#fffDDD"));
377-
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#000000"));
378-
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#ABC"));
379-
self::assertEquals(["#ffffff", "#000000"], Utils::hexToForegroundAndBorder("#1239"));
380-
self::assertEquals(["#ffffff", "#0000ff"], Utils::hexToForegroundAndBorder("#10203040"));
377+
self::assertEquals(["#ffffff", "#000000ff"], Utils::hexToForegroundAndBorder("#000000"));
378+
self::assertEquals(["#ffffff", "#000000ff"], Utils::hexToForegroundAndBorder("#ABC"));
379+
self::assertEquals(["#ffffff", "#00000099"], Utils::hexToForegroundAndBorder("#1239"));
380+
self::assertEquals(["#ffffff", "#0000ff40"], Utils::hexToForegroundAndBorder("#10203040"));
381381
}
382382

383383
/**

0 commit comments

Comments
 (0)