diff options
Diffstat (limited to 'tests/integration/SanitizerTest.php')
-rw-r--r-- | tests/integration/SanitizerTest.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/integration/SanitizerTest.php b/tests/integration/SanitizerTest.php new file mode 100644 index 000000000..1981079f0 --- /dev/null +++ b/tests/integration/SanitizerTest.php @@ -0,0 +1,13 @@ +<?php +use PHPUnit\Framework\TestCase; + +/** @group integration */ +final class SanitizerTest extends TestCase { + public function test_sanitize_non_ascii(): void { + $this->assertEquals( + '<p>中文</p>', + Sanitizer::sanitize('<p>中文</p>') + ); + } +} + |