From ef4a49c72bf69c0fd9374fe66da658a7ec52cdc8 Mon Sep 17 00:00:00 2001 From: Marvin Muxfeld Date: Thu, 11 Jul 2024 14:53:45 +0200 Subject: [PATCH] PISHPS-328: added test case to ApplePayDirectDomainSanitizerTest for sub domains --- .../Services/ApplePayDirectDomainSanitizerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/PHPUnit/Components/ApplePayDirect/Services/ApplePayDirectDomainSanitizerTest.php b/tests/PHPUnit/Components/ApplePayDirect/Services/ApplePayDirectDomainSanitizerTest.php index 010c788bc..f6bccbdb5 100644 --- a/tests/PHPUnit/Components/ApplePayDirect/Services/ApplePayDirectDomainSanitizerTest.php +++ b/tests/PHPUnit/Components/ApplePayDirect/Services/ApplePayDirectDomainSanitizerTest.php @@ -34,6 +34,7 @@ public function sanitationTestDataProvider(): array 'removes shop language slug if provided' => ['https://example.com/shop/de', 'example.com'], 'removes shop language slug and trailing slash if provided' => ['example.com/shop/de/', 'example.com'], 'removes shop language slug and trailing slash if provided and protocol' => ['https://example.com/shop/de/', 'example.com'], + 'sub domains are not removed' => ['sub.example.com', 'sub.example.com'], ]; } } \ No newline at end of file