This commit is contained in:
Yuri Kuznetsov
2025-06-02 19:04:18 +03:00
parent 8d81ac3acb
commit bf43ab05ff
@@ -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);