From 3c96f51659623963ceab77a37fbd2263524aa92b Mon Sep 17 00:00:00 2001 From: Ronan Giron Date: Thu, 8 Sep 2022 16:07:43 +0200 Subject: [PATCH] Update test for `Uri::create()` method --- tests/UriTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/UriTest.php b/tests/UriTest.php index aea5114..993ff2a 100644 --- a/tests/UriTest.php +++ b/tests/UriTest.php @@ -182,7 +182,7 @@ public function testCreateFromString_withBlankSpaces() public function testCreate() { - $uri = Uri::createFromString('../qux?foo#bar'); + $uri = Uri::createFromString('../qux?foo&bar=bar value#bar'); $ref = Uri::createFromString('https://elgigi:password@getberlioz.com:8080/doc/#qux'); $newUri = Uri::create($uri, $ref); @@ -194,7 +194,7 @@ public function testCreate() 'host' => 'getberlioz.com', 'port' => 8080, 'path' => '/qux', - 'query' => 'foo=', + 'query' => 'foo=&bar=bar+value', 'fragment' => 'bar', 'userinfo' => 'elgigi:password', 'authority' => 'elgigi:password@getberlioz.com:8080'