Skip to content

Commit

Permalink
Use unique xs:ID
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 14, 2024
1 parent 16bee61 commit 42a99a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/XML/ds/ManifestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function testMarshalling(): void
C::XMLDSIG_MANIFEST,
'#_1e280ee704fb1d8d9dec4bd6c1889ec96942921153',
);
$manifest = new Manifest([$reference], 'abc123');
$manifest = new Manifest([$reference], 'def456');

$this->assertEquals(
self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement),
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/xml/ds_Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ds:Manifest xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="abc123">
<ds:Manifest xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="def456">
<ds:Reference Id="abc123" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#_1e280ee704fb1d8d9dec4bd6c1889ec96942921153">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
Expand Down

0 comments on commit 42a99a8

Please sign in to comment.