Skip to content

Commit

Permalink
Update test for Uri::create() method
Browse files Browse the repository at this point in the history
  • Loading branch information
ElGigi committed Sep 8, 2022
1 parent 8f38315 commit 3c96f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/UriTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]:8080/doc/#qux');

$newUri = Uri::create($uri, $ref);
Expand All @@ -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:[email protected]:8080'
Expand Down

0 comments on commit 3c96f51

Please sign in to comment.