public function RequestTest::testGetQueryStringReturnsNull 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::testGetQueryStringReturnsNull()
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 699
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetQueryStringReturnsNull() {
$request = new Request();
$this
->assertNull($request
->getQueryString(), '->getQueryString() returns null for non-existent query string');
$request->server
->set('QUERY_STRING', '');
$this
->assertNull($request
->getQueryString(), '->getQueryString() returns null for empty query string');
}