Skip to content

Commit

Permalink
Add test to handle non default port in host (port of #572 to 2.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed May 4, 2018
1 parent b5bf725 commit 354ef90
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/Middleware/RequestInterfaceMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,22 @@ public function invokeDataProvider()
],
],
],
[
[
'uri' => 'http://www.example.com:123/foo',
'method' => 'GET',
'cookies' => [],
'headers' => [],
],
[
'url' => 'http://www.example.com:123/foo',
'method' => 'GET',
'cookies' => [],
'headers' => [
'Host' => ['www.example.com:123'],
],
],
],
[
[
'uri' => 'http://www.example.com/foo?foo=bar&bar=baz',
Expand Down

0 comments on commit 354ef90

Please sign in to comment.