1 2 3 4 5 6 7 8 9 10 11 12 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>') ); } }