aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-07-02 19:33:23 +0200
committerHarald Eilertsen <haraldei@anduin.net>2023-07-12 20:42:37 +0200
commit7bd2de996750830aca191853345e0b798d68f16a (patch)
tree8d4b0d3c4630bd38c666340c8bc5e8506289e774
parentb0b0973e2dce0f430639aaf73b0fc538e1df44ab (diff)
downloadvolse-hubzilla-7bd2de996750830aca191853345e0b798d68f16a.tar.gz
volse-hubzilla-7bd2de996750830aca191853345e0b798d68f16a.tar.bz2
volse-hubzilla-7bd2de996750830aca191853345e0b798d68f16a.zip
unit-tests: There's no need to test builtin func hex2bin
-rw-r--r--tests/unit/AntiXSSTest.php10
1 files changed, 0 insertions, 10 deletions
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