diff --git a/tests/Unit/CssInlinerTest.php b/tests/Unit/CssInlinerTest.php index e6fb9c12..ea2da633 100644 --- a/tests/Unit/CssInlinerTest.php +++ b/tests/Unit/CssInlinerTest.php @@ -258,6 +258,7 @@ public function specialCharactersDataProvider() 'template markers with dollar signs & square brackets' => ['$[USER:NAME]$'], 'UTF-8 umlauts' => ['Küss die Hand, schöne Frau.'], 'HTML entities' => ['a & b > c'], + 'curly braces' => ['{Happy new year!}'], ]; } @@ -268,7 +269,7 @@ public function specialCharactersDataProvider() * * @dataProvider specialCharactersDataProvider */ - public function renderKeepsSpecialCharacters($codeNotToBeChanged) + public function renderKeepsSpecialCharactersInTextNodes($codeNotToBeChanged) { $html = '

' . $codeNotToBeChanged . '

'; $subject = $this->buildDebugSubject($html); @@ -297,7 +298,7 @@ public function addsMissingHtml5DocumentType() * * @dataProvider specialCharactersDataProvider */ - public function emogrifyBodyContentKeepsSpecialCharacters($codeNotToBeChanged) + public function emogrifyBodyContentKeepsSpecialCharactersInTextNodes($codeNotToBeChanged) { $html = '

' . $codeNotToBeChanged . '

'; $subject = $this->buildDebugSubject($html); diff --git a/tests/Unit/Emogrifier/HtmlProcessor/AbstractHtmlProcessorTest.php b/tests/Unit/Emogrifier/HtmlProcessor/AbstractHtmlProcessorTest.php index f5e1f1a4..4167b0fa 100644 --- a/tests/Unit/Emogrifier/HtmlProcessor/AbstractHtmlProcessorTest.php +++ b/tests/Unit/Emogrifier/HtmlProcessor/AbstractHtmlProcessorTest.php @@ -204,6 +204,7 @@ public function specialCharactersDataProvider() 'template markers with dollar signs & square brackets' => ['$[USER:NAME]$'], 'UTF-8 umlauts' => ['Küss die Hand, schöne Frau.'], 'HTML entities' => ['a & b > c'], + 'curly braces' => ['{Happy new year!}'], ]; } @@ -214,7 +215,7 @@ public function specialCharactersDataProvider() * * @dataProvider specialCharactersDataProvider */ - public function keepsSpecialCharacters($codeNotToBeChanged) + public function keepsSpecialCharactersInTextNodes($codeNotToBeChanged) { $html = '

' . $codeNotToBeChanged . '

'; $subject = new TestingHtmlProcessor($html); diff --git a/tests/Unit/EmogrifierTest.php b/tests/Unit/EmogrifierTest.php index af6bc459..b40c1a36 100644 --- a/tests/Unit/EmogrifierTest.php +++ b/tests/Unit/EmogrifierTest.php @@ -230,6 +230,7 @@ public function specialCharactersDataProvider() 'template markers with dollar signs & square brackets' => ['$[USER:NAME]$'], 'UTF-8 umlauts' => ['Küss die Hand, schöne Frau.'], 'HTML entities' => ['a & b > c'], + 'curly braces' => ['{Happy new year!}'], ]; } @@ -240,7 +241,7 @@ public function specialCharactersDataProvider() * * @dataProvider specialCharactersDataProvider */ - public function emogrifyKeepsSpecialCharacters($codeNotToBeChanged) + public function emogrifyKeepsSpecialCharactersInTextNodes($codeNotToBeChanged) { $html = '

' . $codeNotToBeChanged . '

'; $this->subject->setHtml($html); @@ -257,7 +258,7 @@ public function emogrifyKeepsSpecialCharacters($codeNotToBeChanged) * * @dataProvider specialCharactersDataProvider */ - public function emogrifyBodyContentKeepsSpecialCharacters($codeNotToBeChanged) + public function emogrifyBodyContentKeepsSpecialCharactersInTextNodes($codeNotToBeChanged) { $html = '

' . $codeNotToBeChanged . '

'; $this->subject->setHtml($html);