diff options
author | Andrey Andreev <narf@devilix.net> | 2015-04-14 23:50:39 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-04-14 23:50:39 +0200 |
commit | b9ff08cae114ab8dd145ef31064e4bb440f05072 (patch) | |
tree | 5c1d5000aa8ea57afb6617e56af473e9bdeceef3 /tests/codeigniter/helpers/email_helper_test.php | |
parent | 5d8e2a6e4c50b772f4b789ea5d831f47c45dc851 (diff) | |
parent | d78dd8e7ec777e34aa6aed960a05520b074914c5 (diff) |
Merge pull request #3775 from brettsantore/dev
Add test for email address with subdomain
Diffstat (limited to 'tests/codeigniter/helpers/email_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/email_helper_test.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codeigniter/helpers/email_helper_test.php b/tests/codeigniter/helpers/email_helper_test.php index 53a206825..529e96910 100644 --- a/tests/codeigniter/helpers/email_helper_test.php +++ b/tests/codeigniter/helpers/email_helper_test.php @@ -13,6 +13,7 @@ class Email_helper_test extends CI_TestCase { $this->assertEquals(FALSE, valid_email('test@test@test.com')); $this->assertEquals(TRUE, valid_email('test@test.com')); $this->assertEquals(TRUE, valid_email('my.test@test.com')); + $this->assertEquals(TRUE, valid_email('my.test@subdomain.test.com')); } public function test_send_mail() |