mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
DBSearch: test with only functions (no group by)
SVN:trunk[5798]
This commit is contained in:
@@ -497,15 +497,12 @@ class DBSearchTest extends ItopDataTestCase
|
||||
$oAvgExpr = new FunctionExpression('AVG', array($oTimeExpr));
|
||||
$oMinExpr = new FunctionExpression('MIN', array($oTimeExpr));
|
||||
$oMaxExpr = new FunctionExpression('MAX', array($oTimeExpr));
|
||||
$oTanExpr = new FunctionExpression('ATAN', array($oTimeExpr));
|
||||
$oTanExpr = new FunctionExpression('DEGREES', array($oTanExpr));
|
||||
// Alias => Expression
|
||||
$aFunctions = array(
|
||||
'_itop_sum_' => $oSumExpr,
|
||||
'_itop_avg_' => $oAvgExpr,
|
||||
'_itop_min_' => $oMinExpr,
|
||||
'_itop_max_' => $oMaxExpr,
|
||||
'_itop_atan_' => $oTanExpr,
|
||||
);
|
||||
|
||||
$aGroupBy = array();
|
||||
|
||||
Reference in New Issue
Block a user