diff --git a/test/phpunit/LangTest.php b/test/phpunit/LangTest.php index c064a03e2f8..8b614d77948 100644 --- a/test/phpunit/LangTest.php +++ b/test/phpunit/LangTest.php @@ -191,9 +191,9 @@ class LangTest extends PHPUnit\Framework\TestCase print 'Check lang file '.$file."\n"; $filecontent=file_get_contents(DOL_DOCUMENT_ROOT.'/langs/'.$code.'/'.$file); - $result=strpos($filecontent, '%'); - print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n"; - $this->assertTrue($result===false, 'Found a bad percent char % instead of % into file '.$code.'/'.$file); + $result=strpos($filecontent, '%'); // A special % char we don't want. We want the common one. + //print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n"; + $this->assertTrue($result === false, 'Found a bad percent char % instead of % into file '.$code.'/'.$file); } }