Adding test case to validation for sbcglobal.net addresses closes #6065

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8016 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2009-02-06 14:18:53 +00:00
parent 4b00c29eef
commit 9d24c1746f

View file

@ -1492,6 +1492,7 @@ class ValidationTestCase extends CakeTestCase {
$this->assertTrue(Validation::email('abc.efg@12345.co.jp')); $this->assertTrue(Validation::email('abc.efg@12345.co.jp'));
$this->assertTrue(Validation::email('abc@g.cn')); $this->assertTrue(Validation::email('abc@g.cn'));
$this->assertTrue(Validation::email('abc@x.com')); $this->assertTrue(Validation::email('abc@x.com'));
$this->assertTrue(Validation::email('henrik@sbcglobal.net'));
// all ICANN TLDs // all ICANN TLDs
$this->assertTrue(Validation::email('abc@example.aero')); $this->assertTrue(Validation::email('abc@example.aero'));