Skip to content

Commit f49b28e

Browse files
tvdijenjaimeperez
authored andcommitted
Minor fixes
1 parent 2934321 commit f49b28e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/XML/ds/SignatureTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use SimpleSAML\Test\XML\SerializableXMLTestTrait;
99
use SimpleSAML\XML\Chunk;
1010
use SimpleSAML\XML\DOMDocumentFactory;
11+
use SimpleSAML\XML\Utils as XMLUtils;
1112
use SimpleSAML\XMLSecurity\XML\ds\KeyInfo;
1213
use SimpleSAML\XMLSecurity\XML\ds\Signature;
1314
use SimpleSAML\XMLSecurity\XML\ds\SignatureValue;
@@ -60,7 +61,7 @@ public function testMarshalling(): void
6061
dirname(dirname(dirname(__FILE__))) . '/resources/xml/ds_KeyInfo.xml'
6162
)->documentElement
6263
),
63-
[new Chunk(DOMDocumentFactory::fromString('<ds:Object><some>Chunk</some></ds:Object>')->documentElement)],
64+
[new Chunk(DOMDocumentFactory::fromString('<ds:Object xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><some>Chunk</some></ds:Object>')->documentElement)],
6465
'def456'
6566
);
6667

@@ -91,7 +92,7 @@ public function testMarshallingElementOrdering(): void
9192
dirname(dirname(dirname(__FILE__))) . '/resources/xml/ds_KeyInfo.xml'
9293
)->documentElement
9394
),
94-
[new Chunk(DOMDocumentFactory::fromString('<ds:Object><some>Chunk</some></ds:Object>')->documentElement)],
95+
[new Chunk(DOMDocumentFactory::fromString('<ds:Object xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><some>Chunk</some></ds:Object>')->documentElement)],
9596
'def456'
9697
);
9798

0 commit comments

Comments
 (0)