mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding email validation test, disproves and closes #5720
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7844 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8777b8ef96
commit
83faf59d0c
1 changed files with 1 additions and 0 deletions
|
@ -1510,6 +1510,7 @@ class ValidationTestCase extends CakeTestCase {
|
|||
$this->assertTrue(Validation::email('abc@example.pro'));
|
||||
$this->assertTrue(Validation::email('abc@example.tel'));
|
||||
$this->assertTrue(Validation::email('abc@example.travel'));
|
||||
$this->assertTrue(Validation::email('someone@st.t-com.hr'));
|
||||
|
||||
// strange, but technically valid email addresses
|
||||
$this->assertTrue(Validation::email('S=postmaster/OU=rz/P=uni-frankfurt/A=d400/C=de@gateway.d400.de'));
|
||||
|
|
Loading…
Add table
Reference in a new issue