Skip to content

Commit 4e8350f

Browse files
Fix PHP 5.3 tests (default encoding)
1 parent da606a7 commit 4e8350f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JoliTypo/Tests/JoliTypoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function testNonHTMLContent()
177177
NOT_HTML;
178178

179179
$this->assertEquals($fixed, $fixer->fix($toFix));
180-
$this->assertEquals(html_entity_decode($fixed), $fixer->fixString($toFix));
180+
$this->assertEquals(html_entity_decode($fixed, null, 'UTF-8'), $fixer->fixString($toFix));
181181
$this->assertEquals('Here is a “protip©”!', $fixer->fixString('Here is a "protip(c)"!'));
182182
}
183183
}

0 commit comments

Comments
 (0)