diff --git a/Tests/Unit/Fusion/ConvertEmailLinksImplementationTest.php b/Tests/Unit/Fusion/ConvertEmailLinksImplementationTest.php index bd9c40f..7d483eb 100644 --- a/Tests/Unit/Fusion/ConvertEmailLinksImplementationTest.php +++ b/Tests/Unit/Fusion/ConvertEmailLinksImplementationTest.php @@ -86,6 +86,10 @@ public function emailsAreConverted($rawText, $expectedText) public function emailTexts(): array { + + $htmlEncodedDecryptionString = htmlspecialchars('javascript:linkTo_UnCryptMailto(\'ithiOtmpbeat-rdb\', -15)'); + $htmlEncodedSecondDecryptionString = htmlspecialchars('javascript:linkTo_UnCryptMailto(\'uddqpgOtmpbeat-rdb\', -15)'); + return [ 'just some text not to touch' => [ ' this Is some string with line' . chr(10) . ' breaks, special chärß and leading/trailing space ', @@ -93,11 +97,11 @@ public function emailTexts(): array ], 'single mail link in text' => [ 'Email test@example.com', - 'Email test (at) example.com' + 'Email test (at) example.com' ], 'multiple mail links in text' => [ 'Email test@example.com and afterwards another email foobar@example.com', - 'Email test (at) example.com and afterwards another email foobar (at) example.com' + 'Email test (at) example.com and afterwards another email foobar (at) example.com' ], 'email address outside of link' => [ 'Email test@example.com should not be replaced', @@ -105,11 +109,11 @@ public function emailTexts(): array ], 'email address with space at the beginning' => [ 'Email test@example.com', - 'Email test (at) example.com' + 'Email test (at) example.com' ], 'email address with attributes after href' => [ 'Email test@example.com', - 'Email test (at) example.com' + 'Email test (at) example.com' ] ]; }