You are here

public function RequestTest::testGetQueryString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetQueryString()

@covers Symfony\Component\HttpFoundation\Request::getQueryString @covers Symfony\Component\HttpFoundation\Request::normalizeQueryString @dataProvider getQueryStringNormalizationData

File

vendor/symfony/http-foundation/Tests/RequestTest.php, line 664

Class

RequestTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetQueryString($query, $expectedQuery, $msg) {
  $request = new Request();
  $request->server
    ->set('QUERY_STRING', $query);
  $this
    ->assertSame($expectedQuery, $request
    ->getQueryString(), $msg);
}