function UnroutedUrlAssemblerTest::testAssembleWithLocalUri
Tests assemble with local uri.
@legacy-covers ::assemble @legacy-covers ::buildLocalUrl
Attributes
#[DataProvider('providerTestAssembleWithLocalUri')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php, line 146
Class
Namespace
Drupal\Tests\Core\UtilityCode
public function testAssembleWithLocalUri($uri, array $options, $subdir, $expected) : void {
$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.