public function RequestTest::testBuildsRequestTarget in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/RequestTest.php \GuzzleHttp\Tests\Psr7\RequestTest::testBuildsRequestTarget()
File
- vendor/
guzzlehttp/ psr7/ tests/ RequestTest.php, line 96
Class
- RequestTest
- @covers GuzzleHttp\Psr7\Request
Namespace
GuzzleHttp\Tests\Psr7Code
public function testBuildsRequestTarget() {
$r1 = new Request('GET', 'http://foo.com/baz?bar=bam');
$this
->assertEquals('/baz?bar=bam', $r1
->getRequestTarget());
}