diff options
Diffstat (limited to 'tests/HelpersTest.php')
-rw-r--r-- | tests/HelpersTest.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/HelpersTest.php b/tests/HelpersTest.php index 141e604..d0dcdda 100644 --- a/tests/HelpersTest.php +++ b/tests/HelpersTest.php @@ -4,12 +4,5 @@ use PHPUnit\Framework\TestCase; class HelpersTest extends TestCase { - function test_constant_time_compare() - { - $this->assertTrue(_hash_equals('abc', 'abc')); - $this->assertFalse(_hash_equals('abc', 'ab')); - $this->assertFalse(_hash_equals('ab', 'abc')); - $this->assertFalse(_hash_equals('abcd', 'adbc')); - $this->assertFalse(_hash_equals(0, 0)); - } + } |