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 f09fcc2 commit 1d2e113
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_URI, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],
[new Transform(C::XPATH_URI10, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],

Check failure on line 97 in tests/SAML2/XML/saml/EncryptedAssertionTest.php

View workflow job for this annotation

GitHub Actions / Quality control

Access to undefined constant SimpleSAML\Test\SAML2\Constants::XPATH_URI10.
);

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

0 comments on commit 1d2e113

Please sign in to comment.