From c3ebed8de5f5d356400f0b83a73eb67e427a2c01 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 28 Nov 2014 23:25:46 +0100 Subject: [PATCH] Test for #19, Fixes #19 --- tests/Zend/Validate/HostnameTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/Zend/Validate/HostnameTest.php b/tests/Zend/Validate/HostnameTest.php index e8c377e7fa..fcd73fb69f 100644 --- a/tests/Zend/Validate/HostnameTest.php +++ b/tests/Zend/Validate/HostnameTest.php @@ -508,4 +508,14 @@ public function testIDNRS() $this->assertTrue($validator->isValid('test.rs')); } + + /** + * @group GH-19 + */ + public function testRussianIdn() + { + $validator = new Zend_Validate_Hostname(); + $this->assertTrue($validator->isValid('кц.рф')); + $this->assertTrue($validator->isValid('президент.рф')); + } }