From 7bd2de996750830aca191853345e0b798d68f16a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 2 Jul 2023 19:33:23 +0200 Subject: unit-tests: There's no need to test builtin func hex2bin --- tests/unit/AntiXSSTest.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests') diff --git a/tests/unit/AntiXSSTest.php b/tests/unit/AntiXSSTest.php index f4ee984bc..6b24cc9e3 100644 --- a/tests/unit/AntiXSSTest.php +++ b/tests/unit/AntiXSSTest.php @@ -80,16 +80,6 @@ class AntiXSSTest extends TestCase { xml_parser_free($xml_parser); } - /** - * Test hex2bin and reverse - */ - public function testHex2Bin() { - $this->assertEquals(-3, hex2bin(bin2hex(-3))); - $this->assertEquals(0, hex2bin(bin2hex(0))); - $this->assertEquals(12, hex2bin(bin2hex(12))); - $this->assertEquals(PHP_INT_MAX, hex2bin(bin2hex(PHP_INT_MAX))); - } - //function qp, quick and dirty?? //get_mentions //get_contact_block, bis Zeile 538 -- cgit v1.2.3