protected static property XssUnitTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php \Drupal\KernelTests\Core\Common\XssUnitTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
- core/
tests/ Drupal/ KernelTests/ Core/ Common/ XssUnitTest.php, line 21
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 static $modules = [
'filter',
'system',
];