You are here

public function EmailValidatorTest::testValidEmailsWithWarningsCheck in Zircon Profile 8.0

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

@dataProvider getInvalidEmailsWithWarnings

File

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

Class

EmailValidatorTest

Namespace

Egulias\Tests\EmailValidator

Code

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