This commit is contained in:
Yuri Kuznetsov
2021-02-16 22:52:39 +02:00
parent f5e6ed914d
commit ec5f8fc4f5
@@ -114,13 +114,13 @@ class HtmlizerTest extends \PHPUnit\Framework\TestCase
$template = "{{float}}";
$entity->set('float', 3);
$html = $this->htmlizer->render($entity, $template);
$this->assertEquals('3', $html);
$this->assertEquals('3.00', $html);
$template = "{{float}}";
$entity->set('float', 3);
$html = $this->htmlizer->render($entity, $template);
$this->assertEquals('3', $html);
$this->assertEquals('3.00', $html);
$template = "{{float}}";
$entity->set('float', 10000.50);