public function RequestTest::testGetHostWithFakeHttpHostValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetHostWithFakeHttpHostValue()
@expectedException \RuntimeException
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 790
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetHostWithFakeHttpHostValue() {
$request = new Request();
$request
->initialize(array(), array(), array(), array(), array(), array(
'HTTP_HOST' => 'www.host.com?query=string',
));
$request
->getHost();
}