💚 Fix unit tests

This commit is contained in:
Eric
2019-10-17 12:19:23 +02:00
parent 36b325f71d
commit 5a1a6cf6f0
2 changed files with 6 additions and 5 deletions

View File

@@ -301,11 +301,7 @@ class OQLToSQLAllCLassesTest extends ItopDataTestCase
continue;
}
$sOQL = "SELECT $sClass";
$aOrderBy = array();
if (MetaModel::IsValidAttCode($sClass, 'friendlyname'))
{
$aOrderBy["$sClass.friendlyname"] = true;
}
$aOrderBy = MetaModel::GetOrderByDefault($sClass);
$aData[$sOQL] = array($sOQL, $aOrderBy, array(), null, null, 10, 0);
}