public function HtmlTest::testTransformRootRelativeUrlsToAbsoluteAssertion in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Utility/HtmlTest.php \Drupal\Tests\Component\Utility\HtmlTest::testTransformRootRelativeUrlsToAbsoluteAssertion()
@covers ::transformRootRelativeUrlsToAbsolute @dataProvider providerTestTransformRootRelativeUrlsToAbsoluteAssertion
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php, line 349
Class
Namespace
Drupal\Tests\Component\UtilityCode
public function testTransformRootRelativeUrlsToAbsoluteAssertion($scheme_and_host) {
$this
->expectException(\AssertionError::class);
Html::transformRootRelativeUrlsToAbsolute('', $scheme_and_host);
}