Skip to content

Commit

Permalink
s/finish()/finalize()/ in implementation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Jul 29, 2017
1 parent ac2f29e commit 7662194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Implementation/HashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function testMessageDigestWith($algo, $data, $expected)
{
try {
$impl = Registry::buildHash($algo, true);
$result = $impl->update($data)->finish(false);
$result = $impl->update($data)->finalize(false);
} catch (\Exception $e) {
$this->markTestSkipped((string) $e);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Implementation/MacTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function testMessageAuthenticationWith($key, $data, $expected)
{
try {
$impl = Registry::buildMac(MacEnum::MAC_HMAC(), HashEnum::HASH_MD5(), pack('H*', $key), '', true);
$result = $impl->update($data)->finish(false);
$result = $impl->update($data)->finalize(false);
} catch (\Exception $e) {
$this->markTestSkipped((string) $e);
}
Expand Down

0 comments on commit 7662194

Please sign in to comment.