Skip to content

Commit

Permalink
Use same source for assert
Browse files Browse the repository at this point in the history
  • Loading branch information
drmad committed Jun 17, 2022
1 parent 59233a0 commit 06e807a
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 @@ -7,8 +7,8 @@ final class UriTest extends TestCase
{
public function testStringToString()
{
$source = 'http://usr:pss@example.com:81/mypath/myfile.html?a=b&b[]=2&b[]=3#myfragment';
$uri = new Vendimia\Http\Psr\Uri('http://usr:pss@example.com:81/mypath/myfile.html?a=b&b[]=2&b[]=3#myfragment');
$source = 'http://usr:pss@example.com:81/mypath/with-an-eñe/myfile.html?a=b&b[]=2&b[]=3#myfragment';
$uri = new Vendimia\Http\Psr\Uri($source);

$this->assertEquals(
$source,
Expand Down

0 comments on commit 06e807a

Please sign in to comment.