From 61a9a4ac654eb6ae0ca3e153548a1ac18f2d7e54 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Fri, 1 Sep 2023 09:29:07 +0200 Subject: [PATCH] :white_check_mark: Fix unit tests for MariaDB --- .../unitary-tests/core/ExpressionEvaluateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php-unit-tests/unitary-tests/core/ExpressionEvaluateTest.php b/tests/php-unit-tests/unitary-tests/core/ExpressionEvaluateTest.php index de80a8330d..d6f2826fd7 100644 --- a/tests/php-unit-tests/unitary-tests/core/ExpressionEvaluateTest.php +++ b/tests/php-unit-tests/unitary-tests/core/ExpressionEvaluateTest.php @@ -526,7 +526,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));