diff --git a/tests/Unit/Crypt/Hash/SHA256_96Test.php b/tests/Unit/Crypt/Hash/SHA256_96Test.php index 8fd1e82d..14029faf 100644 --- a/tests/Unit/Crypt/Hash/SHA256_96Test.php +++ b/tests/Unit/Crypt/Hash/SHA256_96Test.php @@ -23,7 +23,7 @@ class Unit_Crypt_Hash_SHA256_96Test extends Unit_Crypt_Hash_SHA256Test static public function hmacData() { - $tests = parent::hashData(); + $tests = parent::hmacData(); foreach ($tests as &$test) { $test[2] = substr($test[2], 0, 24); } diff --git a/tests/Unit/Crypt/Hash/SHA512_96Test.php b/tests/Unit/Crypt/Hash/SHA512_96Test.php index 85159662..d3f7721c 100644 --- a/tests/Unit/Crypt/Hash/SHA512_96Test.php +++ b/tests/Unit/Crypt/Hash/SHA512_96Test.php @@ -23,9 +23,9 @@ class Unit_Crypt_Hash_SHA512_96Test extends Unit_Crypt_Hash_SHA512Test static public function hmacData() { - $tests = parent::hashData(); + $tests = parent::hmacData(); foreach ($tests as &$test) { - $test[3] = substr($test[2], 0, 24); + $test[2] = substr($test[2], 0, 24); } return $tests; }