function XssUnitTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php \Drupal\KernelTests\Core\Common\XssUnitTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php \Drupal\KernelTests\Core\Common\XssUnitTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php \Drupal\KernelTests\Core\Common\XssUnitTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php, line 29

Class

XssUnitTest
Tests XSS filtering.

Namespace

Drupal\KernelTests\Core\Common

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'system',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.