Fix phpunit

This commit is contained in:
Laurent Destailleur 2023-02-17 16:00:57 +01:00
parent f8c3b9ff5b
commit a18b5a31e5

View File

@ -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;
}