Add more phpunit tests

This commit is contained in:
Laurent Destailleur
2020-11-06 13:57:06 +01:00
parent ac6f8e4e7c
commit 73e6a00d3e
2 changed files with 8 additions and 1 deletions

View File

@@ -255,7 +255,7 @@ class CodingPhpTest extends PHPUnit\Framework\TestCase
//if ($reg[0] != 'db') $ok=false;
}
//print __METHOD__." Result for checking we don't have non escaped string in sql requests for file ".$file."\n";
$this->assertTrue($ok, 'Found a $this->db->idate to forge a sql request without quotes around this date field '.$file['relativename'].' :: '.$val[0]);
$this->assertTrue($ok, 'Found a $this->db->idate to forge a sql request without quotes around this date field '.$file['relativename']);
//exit;