From 398048da043b2ff64d3712fc152dcddb85d4d439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 21 Feb 2021 16:10:35 +0100 Subject: [PATCH] fix tests --- test/phpunit/FunctionsLibTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index db3fead97c3..f1341c9a042 100644 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -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("éeé", $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);