Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fdb304b

Browse files
committed
Merge branch 'hotfix/159'
Close #159
2 parents 17556d2 + 6ab71a1 commit fdb304b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/UriTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,4 +561,11 @@ public function testPassingInvalidValueToWithMethodRaisesException($method, $val
561561
$this->setExpectedException('InvalidArgumentException');
562562
$uri->$method($value);
563563
}
564+
565+
public function testUtf8Uri()
566+
{
567+
$uri = new Uri('http://ουτοπία.δπθ.gr/');
568+
569+
$this->assertEquals('ουτοπία.δπθ.gr', $uri->getHost());
570+
}
564571
}

0 commit comments

Comments
 (0)