summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-14 23:50:39 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-14 23:50:39 +0200
commitb9ff08cae114ab8dd145ef31064e4bb440f05072 (patch)
tree5c1d5000aa8ea57afb6617e56af473e9bdeceef3 /tests/codeigniter/helpers
parent5d8e2a6e4c50b772f4b789ea5d831f47c45dc851 (diff)
parentd78dd8e7ec777e34aa6aed960a05520b074914c5 (diff)
Merge pull request #3775 from brettsantore/dev
Add test for email address with subdomain
Diffstat (limited to 'tests/codeigniter/helpers')
-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()