Update PHPMailerTest.php

This commit is contained in:
Mariusz Krzaczkowski 2025-10-02 10:30:50 +02:00 committed by GitHub
parent 512e26bffc
commit 07755f0f69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 23 deletions

View File

@ -639,29 +639,6 @@ EOT;
);
}
/**
* An embedded attachment test with custom cid domain invalid.
*/
public function testEmbeddedImageCustomCidDomainInvalid()
{
$this->Mail->msgHTML('<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>E-Mail Inline Image Test</title>
</head>
<body>
<p><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></p>
</body>
</html>', '', false, '@no a valid domain');
$this->Mail->preSend();
self::assertStringContainsString(
'Content-ID: <bb229a48bee31f5d54ca12dc9bd960c6@phpmailer.0>',
$this->Mail->getSentMIMEMessage(),
'Embedded image header encoding incorrect.'
);
}
/**
* An embedded attachment test.
*/