File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use SimpleSAML \Test \XML \SerializableXMLTestTrait ;
99use SimpleSAML \XML \Chunk ;
1010use SimpleSAML \XML \DOMDocumentFactory ;
11+ use SimpleSAML \XML \Utils as XMLUtils ;
1112use SimpleSAML \XMLSecurity \XML \ds \KeyInfo ;
1213use SimpleSAML \XMLSecurity \XML \ds \Signature ;
1314use 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
You can’t perform that action at this time.
0 commit comments