mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
eba2e78d06
commit
a9062e2e02
1 changed files with 3 additions and 2 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue