Skip to content

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusBoa committed Jul 26, 2022
1 parent fdba410 commit 6555aaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/UrlQueryParametersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@
->withoutQueryParameters();

expect($url)->getAllQueryParameters()->toEqual([]);

$url = Url::fromString('https://example.com?foo=bar')
->withoutQueryParameters();

expect((string) $url)->toEqual('https://example.com');
});


Expand Down

0 comments on commit 6555aaf

Please sign in to comment.