mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 10:03:00 +01:00
Fix phpunit
This commit is contained in:
@@ -193,7 +193,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
|
||||
|
||||
$result=strpos($filecontent, '"');
|
||||
if ($result) {
|
||||
$result=(! strpos($filecontent, '["') && ! strpos($filecontent, '{"'));
|
||||
$result=(! strpos($filecontent, '["') && ! strpos($filecontent, '{"') && ! strpos($filecontent, '("'));
|
||||
}
|
||||
//print __METHOD__." Result for checking we don't have double quote = ".$result."\n";
|
||||
$this->assertTrue($result===false, 'Found double quote that is not [" neither {" (used for json content) into '.$file.'. Bad.');
|
||||
|
||||
Reference in New Issue
Block a user