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