Skip to content

Commit

Permalink
Add test for DNSKEY::get_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Pike committed Apr 23, 2018
1 parent 2cfc280 commit 065acb2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/DNSKEYTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
declare(strict_types=1);

use PHPUnit\Framework\Testcase;

/**
* @covers DNSKEY
*/

final class DNSKEYTest extends Testcase {
public function testGetTag() {
$this->assertEquals('50036', DNSKEY::get_tag(257, 3, 13, '+lIB+O45g/Uea2u5v8mhWaW9pi4CaKEKiPK3AbYH5Uja9GW7+m/vUOBCHwICf3hLtZ5PXgorjP/td9qutBneFw=='));
}
}

0 comments on commit 065acb2

Please sign in to comment.