Skip to content

Commit

Permalink
Fix XPath constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 24, 2024
1 parent fbb7450 commit 6bb8c27
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::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 6bb8c27

Please sign in to comment.