Skip to content

Commit ebf94a2

Browse files
committed
Revert "Add bogus tests"
This reverts commit 2c6fc10.
1 parent 4582994 commit ebf94a2

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

webapp/tests/Twig/TwigExtensionTest.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

webapp/tests/Unit/Utils/UtilsTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -386,20 +386,6 @@ public function testConvertToHexUnknown(): void
386386
self::assertNull(Utils::convertToHex('#12346h'));
387387
}
388388

389-
public function testApcaContrast(): void
390-
{
391-
self::assertEquals('#ffffff', Utils::apcaContrast("#fff", "#fff"));
392-
}
393-
394-
public function testHexToForegroundAndBorder(): void
395-
{
396-
self::assertEquals(['#ffffff', '#ffffff'], Utils::hexToForegroundAndBorder("#fff"));
397-
self::assertEquals(['#ffffff', '#ffffff'], Utils::hexToForegroundAndBorder("#fedc"));
398-
self::assertEquals(['#ffffff', '#ffffff'], Utils::hexToForegroundAndBorder("#001122"));
399-
self::assertEquals(['#ffffff', '#ffffff'], Utils::hexToForegroundAndBorder("#11223344"));
400-
self::assertEquals(['#ffffff', '#ffffff'], Utils::hexToForegroundAndBorder("#0123"));
401-
}
402-
403389
/**
404390
* Test function that converts colour hex notation to (nearest) name.
405391
* If value is not hexadecimal, return it unchanged.

0 commit comments

Comments
 (0)