Choose a validator that should fail
This commit is contained in:
parent
321aeb200d
commit
bfd4c3db1a
|
|
@ -1197,7 +1197,8 @@ EOT;
|
|||
*/
|
||||
public function testUnsupportedSmtpUTF8()
|
||||
{
|
||||
$this->Mail->CharSet = PHPMailer::CHARSET_ISO88591;
|
||||
$this->Mail->CharSet = PHPMailer::CHARSET_UTF8;
|
||||
PHPMailer::$validator = 'html5';
|
||||
self::assertFalse($this->Mail->addAddress('spın̈altap@example.com', ''));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue