forked from Wavyzz/dolibarr
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -193,7 +193,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
|
|||||||
|
|
||||||
$result=strpos($filecontent, '"');
|
$result=strpos($filecontent, '"');
|
||||||
if ($result) {
|
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";
|
//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.');
|
$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