Skip to content

Commit 6bb8c27

Browse files
committed
Fix XPath constructor
1 parent fbb7450 commit 6bb8c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SAML2/XML/saml/EncryptedAssertionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static function tearDownAfterClass(): void
9494
public function testMarshalling(): void
9595
{
9696
$transforms = new Transforms(
97-
[new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))],
97+
[new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]'))],
9898
);
9999

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

0 commit comments

Comments
 (0)