From 8735c79aaaaeef0b952a656325457cc1f123936d Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 8 Jan 2025 18:39:57 +0100 Subject: [PATCH] Remove incorrect test; diacritical characters are allowed in URI --- tests/SAML2/Assert/EntityIDTest.php | 2 +- tests/SAML2/Assert/URITest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SAML2/Assert/EntityIDTest.php b/tests/SAML2/Assert/EntityIDTest.php index 60966bbd6..f1399f251 100644 --- a/tests/SAML2/Assert/EntityIDTest.php +++ b/tests/SAML2/Assert/EntityIDTest.php @@ -47,7 +47,7 @@ public static function provideEntityID(): array 'urn' => [true, 'urn:x-simplesamlphp:phpunit'], 'same-doc' => [false, '#_53d830ab1be17291a546c95c7f1cdf8d3d23c959e6'], 'url' => [true, 'https://www.simplesamlphp.org'], - 'invalid_char' => [false, 'https://a⒈com'], + 'utf8_char' => [true, 'https://aä.com'], 'intl' => [true, 'https://niño.com'], 'spn' => [true, 'spn:a4cf592f-a64c-46ff-a788-b260f474525b'], 'typos' => [false, 'https//www.uni.l/en/'], diff --git a/tests/SAML2/Assert/URITest.php b/tests/SAML2/Assert/URITest.php index 31213b52b..8926e84e0 100644 --- a/tests/SAML2/Assert/URITest.php +++ b/tests/SAML2/Assert/URITest.php @@ -44,7 +44,7 @@ public static function provideURI(): array 'urn' => [true, 'urn:x-simplesamlphp:phpunit'], 'same-doc' => [false, '#_53d830ab1be17291a546c95c7f1cdf8d3d23c959e6'], 'url' => [true, 'https://www.simplesamlphp.org'], - 'invalid_char' => [false, 'https://a⒈com'], + 'utf8_char' => [true, 'https://aä.com'], 'intl' => [true, 'https://niño.com'], 'spn' => [true, 'spn:a4cf592f-a64c-46ff-a788-b260f474525b'], 'typos' => [false, 'https//www.uni.l/en/'],