function XssUnitTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Common/ XssUnitTest.php, line 23
Class
- XssUnitTest
- Confirm that \Drupal\Component\Utility\Xss::filter() and check_url() work correctly, including invalid multi-byte sequences.
Namespace
Drupal\KernelTests\Core\CommonCode
protected function setUp() {
parent::setUp();
$this->installConfig([
'system',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.