You are here

protected function SafeMarkupTest::tearDown in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php \Drupal\Tests\Component\Utility\SafeMarkupTest::tearDown()

File

core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php, line 42
Contains \Drupal\Tests\Component\Utility\SafeMarkupTest.

Class

SafeMarkupTest
Tests marking strings as safe.

Namespace

Drupal\Tests\Component\Utility

Code

protected function tearDown() {
  parent::tearDown();
  UrlHelper::setAllowedProtocols([
    'http',
    'https',
  ]);
}