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