Commit b1c67b86 by Qiang Xue

Fixed test break.

parent dc893ec6
...@@ -22,7 +22,7 @@ class EmailValidatorTest extends TestCase ...@@ -22,7 +22,7 @@ class EmailValidatorTest extends TestCase
$validator = new EmailValidator(); $validator = new EmailValidator();
$validator->checkMX = true; $validator->checkMX = true;
$this->assertTrue($validator->validateValue('sam@rmcreative.ru')); $this->assertTrue($validator->validateValue('5011@gmail.com'));
$this->assertFalse($validator->validateValue('test@example.com')); $this->assertFalse($validator->validateValue('test@example.com'));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment