From 9ef56b53f2cf1d4e4097a9efd130ce94f1230015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 21 Feb 2021 16:05:59 +0100 Subject: [PATCH] fix tests --- test/phpunit/FunctionsLibTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index 9d626208af5..db3fead97c3 100644 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -784,9 +784,9 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase $after=dol_trunc($input, 3); $this->assertEquals("éeée", $after, 'Test C1'); $after=dol_trunc($input, 2); - $this->assertEquals("éeée", $after, 'Test C2'); + $this->assertEquals("ée…", $after, 'Test C2'); $after=dol_trunc($input, 1); - $this->assertEquals("éeée", $after, 'Test C3'); + $this->assertEquals("é…", $after, 'Test C3'); $input="éeé"; $after=dol_trunc($input, 3); $this->assertEquals("éeé", $after, 'Test C');