From a18b5a31e5653f4561082dec7d45298bc591b5a7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 Feb 2023 16:00:57 +0100 Subject: [PATCH] Fix phpunit --- test/phpunit/DateLibTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/DateLibTest.php b/test/phpunit/DateLibTest.php index 6f50e5b3085..eef029d26d1 100644 --- a/test/phpunit/DateLibTest.php +++ b/test/phpunit/DateLibTest.php @@ -344,7 +344,7 @@ class DateLibTest extends PHPUnit\Framework\TestCase $result=convertSecondToTime(86400, 'all', 86400); print __METHOD__." result=".$result."\n"; - $this->assertSame('1 '.strtolower(dol_substr($langs->trans("Day"), 0, 1).'.'), $result); + $this->assertSame('1 '.$langs->trans("d"), $result); return $result; }