diff --git a/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php index 86f33b0adf..5933bd5ed6 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php @@ -160,14 +160,6 @@ class EmailValidatorTest extends AbstractConstraintValidatorTest $this->assertNoViolation(); } - public function provideCheckTypes() - { - return array( - array('checkMX', Email::MX_CHECK_FAILED_ERROR), - array('checkHost', Email::HOST_CHECK_FAILED_ERROR), - ); - } - /** * @dataProvider provideCheckTypes */ @@ -187,4 +179,12 @@ class EmailValidatorTest extends AbstractConstraintValidatorTest ->setCode($violation) ->assertRaised(); } + + public function provideCheckTypes() + { + return array( + array('checkMX', Email::MX_CHECK_FAILED_ERROR), + array('checkHost', Email::HOST_CHECK_FAILED_ERROR), + ); + } }