summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers/email_helper_test.php
diff options
context:
space:
mode:
authorBrett Santore <brett.santore@gmail.com>2015-04-14 16:54:48 +0200
committerBrett Santore <brett.santore@gmail.com>2015-04-14 16:54:48 +0200
commitd78dd8e7ec777e34aa6aed960a05520b074914c5 (patch)
tree5c1d5000aa8ea57afb6617e56af473e9bdeceef3 /tests/codeigniter/helpers/email_helper_test.php
parent5d8e2a6e4c50b772f4b789ea5d831f47c45dc851 (diff)
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.php1
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()