From 28cd6b53a2c64445317d017eb5211229a292d49a Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Mon, 18 Nov 2024 10:13:55 +0100 Subject: [PATCH] Fix Xpath namespace --- 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 2582cca2e..75e93d5ed 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::XPATH_URI10, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))], + [new Transform(C::XPATH10_URI, new XPath('self::xenc:CipherValue[@Id="example1"]', ['xenc' => C::NS_XENC]))], ); $retrievalMethod = new RetrievalMethod($transforms, '#Encrypted_KEY_ID', C::XMLENC_ENCRYPTEDKEY);