Skip to content

Commit

Permalink
Fix Xpath namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 18, 2024
1 parent 1d2e113 commit 28cd6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SAML2/XML/saml/EncryptedAssertionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static function tearDownAfterClass(): void
public function testMarshalling(): void
{
$transforms = new Transforms(
[new Transform(C::XPATH_URI10, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],
[new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],
);

$retrievalMethod = new RetrievalMethod($transforms, '#Encrypted_KEY_ID', C::XMLENC_ENCRYPTEDKEY);
Expand Down

0 comments on commit 28cd6b5

Please sign in to comment.