EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
test
Yuriidb504a3ee7b1
diff --git a/tests/unit/Espo/ORM/MysqlQueryComposerTest.php b/tests/unit/Espo/ORM/MysqlQueryComposerTest.phpindex 90c9a90e1b..364abbdd2e 100644--- a/tests/unit/Espo/ORM/MysqlQueryComposerTest.php+++ b/tests/unit/Espo/ORM/MysqlQueryComposerTest.php@@ -2414,6 +2414,15 @@ class MysqlQueryComposerTest extends TestCase$this->assertEquals(['test'], $list);}+ public function testGetAllAttributesFromComplexExpression4()+ {+ $expression = "SUM:('тестван', test1, 'тест', test2, link.test3)";++ $list = Util::getAllAttributesFromComplexExpression($expression);++ $this->assertEquals(['test1', 'test2', 'link.test3'], $list);+ }+public function testComplexExpressionString1(): void{$queryBuilder = new QueryBuilder();