Skip to content

Commit

Permalink
Raise coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 3, 2024
1 parent 56a532b commit 6334692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/XML/ds/SPKIDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ public function testMarshalling(): void
$SPKISexp2 = new SPKISexp('GpM7');
$SPKISexp3 = new SPKISexp('GpM8');
$carriedKeyName = new CarriedKeyName('Some label');
$SPKISexp4 = new SPKISexp('GpM9');

$SPKIData = new SPKIData([
[$SPKISexp1, $seed],
[$SPKISexp2, null],
[$SPKISexp3, $carriedKeyName],
[$SPKISexp4, null],
]);

$this->assertEquals(
Expand Down
1 change: 1 addition & 0 deletions tests/resources/xml/ds_SPKIData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
<ds:SPKISexp>GpM7</ds:SPKISexp>
<ds:SPKISexp>GpM8</ds:SPKISexp>
<xenc:CarriedKeyName xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">Some label</xenc:CarriedKeyName>
<ds:SPKISexp>GpM9</ds:SPKISexp>
</ds:SPKIData>

0 comments on commit 6334692

Please sign in to comment.