mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
💚 Fix unit tests
This commit is contained in:
@@ -205,6 +205,11 @@ class OQLToSQLTest extends ItopDataTestCase
|
||||
}
|
||||
|
||||
$oSearch = DBSearch::FromOQL($sOQL);
|
||||
$sClass = $oSearch->GetClass();
|
||||
if (empty($aOrderBy))
|
||||
{
|
||||
$aOrderBy = MetaModel::GetOrderByDefault($sClass);
|
||||
}
|
||||
|
||||
$sSQLCount = $oSearch->MakeSelectQuery($aOrderBy, $aArgs, $aAttToLoad, $aExtendedDataSpec, 0, 0, true);
|
||||
$fStart = $this->GetMicroTime();
|
||||
|
||||
Reference in New Issue
Block a user