Skip to content

Commit 1a21935

Browse files
authored
Merge pull request #56 from filecage/uri-authority-testcase-host-and-port-only
Adds additional authority test case
2 parents de17925 + 0fd7fb0 commit 1a21935

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/UriIntegrationTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public function testAuthority()
7878

7979
$uri = $this->createUri('http://user:foo@bar.com/');
8080
$this->assertEquals('user:foo@bar.com', $uri->getAuthority());
81+
82+
$uri = $this->createUri('http://bar.com:81/');
83+
$this->assertEquals('bar.com:81', $uri->getAuthority());
8184
}
8285

8386
public function testUserInfo()

0 commit comments

Comments
 (0)