From 6bb8c27535656af1adb211091030f0db35ff3fe1 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 24 Dec 2024 14:21:00 +0100 Subject: [PATCH] Fix XPath constructor --- tests/SAML2/XML/saml/EncryptedAssertionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SAML2/XML/saml/EncryptedAssertionTest.php b/tests/SAML2/XML/saml/EncryptedAssertionTest.php index 75e93d5ed..b18ad4c4f 100644 --- a/tests/SAML2/XML/saml/EncryptedAssertionTest.php +++ b/tests/SAML2/XML/saml/EncryptedAssertionTest.php @@ -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);