EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix test
Yuri Kuznetsov9c1e52f3bf45
diff --git a/tests/unit/Espo/Entities/EmailTest.php b/tests/unit/Espo/Entities/EmailTest.phpindex 94fb765ff0..ccf2d3faed 100644--- a/tests/unit/Espo/Entities/EmailTest.php+++ b/tests/unit/Espo/Entities/EmailTest.php@@ -503,6 +503,7 @@ class EmailTest extends \PHPUnit\Framework\TestCasepublic function testBodyPlain(): void{$this->email->setBody('<br /> &');+ $this->email->setIsHtml();$bodyPlain = $this->email->getBodyPlain();$this->assertEquals(" \r\n &", $bodyPlain);