From d863d455b2d97d7508c4064eeac5dd38c66ccfd0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 25 Jul 2024 17:51:45 +0200 Subject: [PATCH] Fix phpunit --- test/phpunit/FunctionsLibTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index 07c5f1e88f1..97e882705af 100644 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -1194,19 +1194,19 @@ class FunctionsLibTest extends CommonClassTest $object->country_code = 'FR'; $phone = dol_print_phone('1234567890', $object->country_code); - $this->assertEquals('12 34 56 78 90', $phone, 'Phone for FR 1'); + $this->assertEquals('12 34 56 78 90', $phone, 'Phone for FR 1'); $object->country_code = 'FR'; $phone = dol_print_phone('1234567890', $object->country_code, 0, 0, 0, ''); - $this->assertEquals('1234567890', $phone, 'Phone for FR 2'); + $this->assertEquals('1234567890', $phone, 'Phone for FR 2'); $object->country_code = 'FR'; $phone = dol_print_phone('1234567890', $object->country_code, 0, 0, 0, ' '); - $this->assertEquals('12 34 56 78 90', $phone, 'Phone for FR 3'); + $this->assertEquals('12 34 56 78 90', $phone, 'Phone for FR 3'); $object->country_code = 'CA'; $phone = dol_print_phone('1234567890', $object->country_code, 0, 0, 0, ' '); - $this->assertEquals('(123) 456-7890', $phone, 'Phone for CA 1'); + $this->assertEquals('(123) 456-7890', $phone, 'Phone for CA 1'); }