You are here

public function RoutableFragmentRendererTest::testGenerateAbsoluteFragmentUri in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\RoutableFragmentRendererTest::testGenerateAbsoluteFragmentUri()

@dataProvider getGenerateFragmentUriData

File

vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php, line 30

Class

RoutableFragmentRendererTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

public function testGenerateAbsoluteFragmentUri($uri, $controller) {
  $this
    ->assertEquals('http://localhost' . $uri, $this
    ->callGenerateFragmentUriMethod($controller, Request::create('/'), true));
}