mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
fix ci: adapt test to make sure config date_and_time is set properly before
This commit is contained in:
@@ -517,7 +517,8 @@ class CriterionConversionTest extends ItopDataTestCase
|
||||
*/
|
||||
function testOqlToForSearchToOqlAltLanguageFR($sOQL, $sExpectedOQL, $aExpectedCriterion)
|
||||
{
|
||||
$this->OqlToSearchToOqlAltLanguage($sOQL, $sExpectedOQL, $aExpectedCriterion, "FR FR");
|
||||
\MetaModel::GetConfig()->Set('date_and_time_format', array('default' => array('date' => 'Y-m-d', 'time' => 'H:i:s', 'date_time' => '$date $time')));
|
||||
$this->OqlToSearchToOqlAltLanguage($sOQL, $sExpectedOQL, $aExpectedCriterion, "FR FR");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user