function SafeMarkupTest::tearDown

File

core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php, line 29

Class

SafeMarkupTest
Tests marking strings as safe.

Namespace

Drupal\Tests\Component\Utility

Code

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

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