瀏覽代碼

[Validator] removed MX test (tests should work with Internet down)

Fabien Potencier 14 年之前
父節點
當前提交
0805c6f963
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      tests/Symfony/Tests/Component/Validator/Constraints/EmailValidatorTest.php

+ 0 - 5
tests/Symfony/Tests/Component/Validator/Constraints/EmailValidatorTest.php

@@ -53,11 +53,6 @@ class EmailValidatorTest extends \PHPUnit_Framework_TestCase
         $this->assertTrue($this->validator->isValid($email, new Email()));
     }
 
-    public function testValidEmailsAndCheckMX()
-    {
-        $this->assertTrue($this->validator->isValid('fabien@symfony.com', new Email(array('checkMX' => true))));
-    }
-
     public function getValidEmails()
     {
         return array(