You are here

public function UriTest::testResolvesUris in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/UriTest.php \GuzzleHttp\Tests\Psr7\UriTest::testResolvesUris()

@dataProvider getResolveTestCases

File

vendor/guzzlehttp/psr7/tests/UriTest.php, line 107

Class

UriTest
@covers GuzzleHttp\Psr7\Uri

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testResolvesUris($base, $rel, $expected) {
  $uri = new Uri($base);
  $actual = Uri::resolve($uri, $rel);
  $this
    ->assertEquals($expected, (string) $actual);
}