2
0
forked from Wavyzz/dolibarr

Maxi debug of accountancy ledger page.

This commit is contained in:
Laurent Destailleur
2017-07-08 20:52:53 +02:00
parent 8a9c38114f
commit a562e5a919
11 changed files with 218 additions and 87 deletions

View File

@@ -176,6 +176,10 @@ class CodingSqlTest extends PHPUnit_Framework_TestCase
print __METHOD__." Result for checking we don't have 'ON DELETE CASCADE' = ".$result."\n";
$this->assertTrue($result===false, 'Found ON DELETE CASCADE into '.$file.'. Bad.');
$result=strpos($filecontent,'NUMERIC(');
print __METHOD__." Result for checking we don't have 'NUMERIC(' = ".$result."\n";
$this->assertTrue($result===false, 'Found NUMERIC( into '.$file.'. Bad.');
if ($dir == DOL_DOCUMENT_ROOT.'/install/mysql/migration')
{
// Test for migration files only