Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sop committed Jun 21, 2016
1 parent efd4415 commit 25024ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/jwe/key/AESGCMKWTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,9 @@ public function testFromJWKUnsupportedAlgo() {
new AlgorithmParameter(JWA::ALGO_NONE));
AESGCMKWAlgorithm::fromJWK($jwk, $header);
}

public function testFromKey() {
$algo = A128GCMKWAlgorithm::fromKey(self::KEY_128);
$this->assertInstanceOf(A128GCMKWAlgorithm::class, $algo);
}
}

0 comments on commit 25024ff

Please sign in to comment.