function UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri()
- 10 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri()
- 9 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri()
- 8.9.x core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri()
Tests assemble with neither external nor domain local uri.
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php, line 67
Class
Namespace
Drupal\Tests\Core\UtilityCode
public function testAssembleWithNeitherExternalNorDomainLocalUri() : void {
$this->expectException(\InvalidArgumentException::class);
$this->unroutedUrlAssembler
->assemble('wrong-url');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.