Skip to content

Commit

Permalink
Fix XPath constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 2, 2025
1 parent 303f0fc commit 92085db
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 @@ -92,7 +92,7 @@ public static function tearDownAfterClass(): void
public function testMarshalling(): void
{
$transforms = new Transforms(
[new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],
[new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]'))],
);

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

0 comments on commit 92085db

Please sign in to comment.