From 89970885ed4bd964050b62d39d3c1d8bf1a31d0c Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 10 Aug 2014 15:18:51 -0500 Subject: [PATCH] Hash: rm first parameter of testHMAC call --- tests/Unit/Crypt/Hash/SHA256_96Test.php | 2 +- tests/Unit/Crypt/Hash/SHA512_96Test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Crypt/Hash/SHA256_96Test.php b/tests/Unit/Crypt/Hash/SHA256_96Test.php index 08d48c9b..a9cfc43b 100644 --- a/tests/Unit/Crypt/Hash/SHA256_96Test.php +++ b/tests/Unit/Crypt/Hash/SHA256_96Test.php @@ -25,6 +25,6 @@ class Unit_Crypt_Hash_SHA256_96Test extends Unit_Crypt_Hash_SHA256Test */ public function testHMAC($key, $message, $longResult) { - parent::testHMAC($this->getInstance(), $key, $message, substr($longResult, 0, 24)); + parent::testHMAC($key, $message, substr($longResult, 0, 24)); } } diff --git a/tests/Unit/Crypt/Hash/SHA512_96Test.php b/tests/Unit/Crypt/Hash/SHA512_96Test.php index 84ffd5f1..44af854d 100644 --- a/tests/Unit/Crypt/Hash/SHA512_96Test.php +++ b/tests/Unit/Crypt/Hash/SHA512_96Test.php @@ -25,6 +25,6 @@ class Unit_Crypt_Hash_SHA512_96Test extends Unit_Crypt_Hash_SHA512Test */ public function testHMAC($key, $message, $longResult) { - parent::testHMAC($this->getInstance(), $key, $message, substr($longResult, 0, 24)); + parent::testHMAC($key, $message, substr($longResult, 0, 24)); } }