protected function XssUnitTest::setUp

Sets up Drupal unit test environment.

Overrides DrupalUnitTestBase::setUp

See also

DrupalUnitTestBase::$modules

DrupalUnitTestBase

File

drupal/core/modules/system/lib/Drupal/system/Tests/Common/XssUnitTest.php, line 32
Definition of Drupal\system\Tests\Common\XssUnitTest.

Class

XssUnitTest
Tests for check_plain(), filter_xss(), format_string(), and check_url().

Namespace

Drupal\system\Tests\Common

Code

protected function setUp() {
  parent::setUp();
  config_install_default_config('module', 'system');
}