Adding new email validation

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8109 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2009-03-16 12:54:25 +00:00
parent eba2e78d06
commit a9062e2e02

View file

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