You are here

public function EmailValidatorTest::testInvalidEmailsWithDnsCheckAndStrictMode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::testInvalidEmailsWithDnsCheckAndStrictMode()

@dataProvider getInvalidEmailsWithWarnings

File

vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php, line 181

Class

EmailValidatorTest

Namespace

Egulias\Tests\EmailValidator

Code

public function testInvalidEmailsWithDnsCheckAndStrictMode($warnings, $email) {
  $this
    ->assertFalse($this->validator
    ->isValid($email, true, true));
  $this
    ->assertEquals($warnings, $this->validator
    ->getWarnings());
}