1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-27 04:46:26 +01:00

Hash: fix unit tests

This commit is contained in:
terrafrost 2014-08-10 14:54:36 -05:00
parent fb2ecc6c18
commit 3f897cf48b
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,6 @@ class Unit_Crypt_Hash_SHA256_96Test extends Unit_Crypt_Hash_SHA256Test
*/
public function testHMAC($key, $message, $longResult)
{
$this->assertHMACsTo($this->getInstance(), $key, $message, substr($longResult, 0, 24));
parent::testHMAC($this->getInstance(), $key, $message, substr($longResult, 0, 24));
}
}

View File

@ -25,6 +25,6 @@ class Unit_Crypt_Hash_SHA512_96Test extends Unit_Crypt_Hash_SHA512Test
*/
public function testHMAC($key, $message, $longResult)
{
$this->assertHMACsTo($this->getInstance(), $key, $message, substr($longResult, 0, 24));
parent::testHMAC($this->getInstance(), $key, $message, substr($longResult, 0, 24));
}
}