Skip to content
Snippets Groups Projects
Commit d614245c authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #702 from yakatz/patch-1


Plus-addressing test

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 30472267 762fb3a6
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ class TestValidation extends Test {
$this->assert(Validator::is_email('jared.12@domain.tld'));
$this->assert(Validator::is_email('jared_12@domain.tld'));
$this->assert(Validator::is_email('jared-12@domain.tld'));
$this->assert(Validator::is_email('jared+ost@domain.tld'));
// Illegal or unsupported
$this->assert(!Validator::is_email('jared r@domain.tld'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment