1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-25 16:27:33 +02:00
ttrss/tests/integration/SanitizerTest.php
2023-12-02 11:14:07 +03:00

14 lines
265 B
PHP

<?php
use PHPUnit\Framework\TestCase;
/** @group integration */
final class SanitizerTest extends TestCase {
public function test_sanitize_non_ascii(): void {
$this->assertEquals(
'<p>&#20013;&#25991;</p>',
Sanitizer::sanitize('<p>中文</p>')
);
}
}