Skip to content

Commit

Permalink
Merge pull request #2192 from localheinz/fix/combine
Browse files Browse the repository at this point in the history
Fix: Add test case for Url::combine()
  • Loading branch information
sagikazarmark committed Dec 21, 2018
2 parents 93bbdb3 + 8cf7917 commit d9a19b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/UrlTest.php
Expand Up @@ -175,6 +175,7 @@ public function urlCombineDataProvider()
['http://api.flickr.com/services/', 'http://www.flickr.com/services/oauth/access_token', 'http://www.flickr.com/services/oauth/access_token'],
['https://www.example.com/path', '//foo.com/abc', 'https://foo.com/abc'],
['https://www.example.com/0/', 'relative/foo', 'https://www.example.com/0/relative/foo'],
['https://www.example.com/0', 'relative/foo', 'https://www.example.com/relative/foo'],
['', '0', '0'],
// RFC 3986 test cases
[self::RFC3986_BASE, 'g:h', 'g:h'],
Expand Down

0 comments on commit d9a19b2

Please sign in to comment.