Fix unit tests for MariaDB

(cherry picked from commit 61a9a4ac65)
This commit is contained in:
Eric Espie
2023-09-01 09:29:07 +02:00
parent 85f66f5e0c
commit 5acf38ac36

View File

@@ -546,7 +546,7 @@ class ExpressionEvaluateTest extends iTopDataTestCase
$oDate = new DateTime($sStartDate);
for ($i = 0 ; $i < $iRepeat ; $i++)
{
$sDate = date_format($oDate, 'Y-m-d, H:i:s');
$sDate = date_format($oDate, 'Y-m-d H:i:s');
$this->debug("Checking '$sDate'");
$this->testEveryTimeFormat($sDate);
$oDate->add(new DateInterval($sInterval));