diff --git a/tests/JoliTypo/Tests/JoliTypoTest.php b/tests/JoliTypo/Tests/JoliTypoTest.php index 2629aa5..9a82ba6 100644 --- a/tests/JoliTypo/Tests/JoliTypoTest.php +++ b/tests/JoliTypo/Tests/JoliTypoTest.php @@ -177,7 +177,7 @@ public function testNonHTMLContent() NOT_HTML; $this->assertEquals($fixed, $fixer->fix($toFix)); - $this->assertEquals(html_entity_decode($fixed), $fixer->fixString($toFix)); + $this->assertEquals(html_entity_decode($fixed, null, 'UTF-8'), $fixer->fixString($toFix)); $this->assertEquals('Here is a “protip©”!', $fixer->fixString('Here is a "protip(c)"!')); } }