fix tests

This commit is contained in:
Frédéric FRANCE 2021-02-21 16:10:35 +01:00
parent 9ef56b53f2
commit 398048da04
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -793,7 +793,7 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
$after=dol_trunc($input, 2);
$this->assertEquals("éeé", $after, 'Test D');
$after=dol_trunc($input, 1);
$this->assertEquals("é", $after, 'Test E');
$this->assertEquals("é", $after, 'Test E');
// Trunc with no …
$input="éeéeéeàa";
$after=dol_trunc($input, 3, 'right', 'UTF-8', 1);