2
0
forked from Wavyzz/dolibarr

primary key without space

This commit is contained in:
BENKE Charlene
2018-03-10 23:05:24 +01:00
committed by GitHub
parent 390618db47
commit 0d50cab97e

View File

@@ -200,7 +200,7 @@ class CodingSqlTest extends PHPUnit_Framework_TestCase
else
{
// Test for non key files only
$result=(strpos($filecontent,'KEY ') && strpos($filecontent,'PRIMARY KEY ') == 0);
$result=(strpos($filecontent,'KEY ') && strpos($filecontent,'PRIMARY KEY') == 0);
print __METHOD__." Result for checking we don't have ' KEY ' instead of a sql file to create index = ".$result."\n";
$this->assertTrue($result===false, 'Found KEY into '.$file.'. Bad.');