This commit is contained in:
Yuri Kuznetsov
2025-07-10 16:41:06 +03:00
parent 5b7a4ec8f0
commit 9c1e52f3bf
+1
View File
@@ -503,6 +503,7 @@ class EmailTest extends \PHPUnit\Framework\TestCase
public function testBodyPlain(): void
{
$this->email->setBody('<br />&nbsp;&amp;');
$this->email->setIsHtml();
$bodyPlain = $this->email->getBodyPlain();
$this->assertEquals(" \r\n &", $bodyPlain);