Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Test for #19, Fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
mhujer committed Nov 28, 2014
1 parent 3676040 commit c3ebed8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/Zend/Validate/HostnameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('президент.рф'));
}
}

0 comments on commit c3ebed8

Please sign in to comment.