Browse Source

Fixed test break.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
b1c67b86a9
  1. 2
      tests/unit/framework/validators/EmailValidatorTest.php

2
tests/unit/framework/validators/EmailValidatorTest.php

@ -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'));
} }
} }

Loading…
Cancel
Save