You are here

public function RequestTest::testGetRelativeUriForPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetRelativeUriForPath()

@dataProvider getRelativeUriForPathData()

File

vendor/symfony/http-foundation/Tests/RequestTest.php, line 596

Class

RequestTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetRelativeUriForPath($expected, $pathinfo, $path) {
  $this
    ->assertEquals($expected, Request::create($pathinfo)
    ->getRelativeUriForPath($path));
}