EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix test
Yuri Kuznetsovbf43ab05ff69
diff --git a/tests/unit/Espo/Core/Htmlizer/HtmlizerTest.php b/tests/unit/Espo/Core/Htmlizer/HtmlizerTest.phpindex 8aa8450faf..3a948cbe8b 100644--- a/tests/unit/Espo/Core/Htmlizer/HtmlizerTest.php+++ b/tests/unit/Espo/Core/Htmlizer/HtmlizerTest.php@@ -207,7 +207,7 @@ class HtmlizerTest extends TestCase$html = $this->htmlizer->render($entity, $template);$this->assertEquals('test', $html);- $template = "{{#if (or (notEqual name 'test') false 0)}}test{{/if}}";+ $template = "{{#if (or (equal name 'test') false 0)}}test{{/if}}";$entity->set('name', 'test');$html = $this->htmlizer->render($entity, $template);$this->assertEquals('test', $html);