You are here

protected function SafeMarkupTest::tearDown in Drupal 8

File

core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php, line 29
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',
  ]);
}