function UnroutedUrlAssemblerTest::testAssembleWithLocalUri
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithLocalUri()
- 10 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithLocalUri()
- 11.x core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithLocalUri()
@covers ::assemble @covers::buildLocalUrl
@dataProvider providerTestAssembleWithLocalUri
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php, line 114
Class
- UnroutedUrlAssemblerTest
- @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility
Namespace
Drupal\Tests\Core\UtilityCode
public function testAssembleWithLocalUri($uri, array $options, $subdir, $expected) {
$this->setupRequestStack($subdir);
$this->assertEquals($expected, $this->unroutedUrlAssembler
->assemble($uri, $options));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.