You are here

public function FunctionsTest::testDoesNotDecode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testDoesNotDecode()

File

vendor/guzzlehttp/psr7/tests/FunctionsTest.php, line 196

Class

FunctionsTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testDoesNotDecode() {
  $str = 'foo%20=bar';
  $data = Psr7\parse_query($str, false);
  $this
    ->assertEquals([
    'foo%20' => 'bar',
  ], $data);
}