add sanitizer integration test
This commit is contained in:
parent
ce9847d317
commit
e52eaf0e7b
|
@ -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>')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue