Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 14, 2024
1 parent f74909a commit 1d1c381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/phpunit/CodingSqlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function testSql()

$result = strpos($filecontent, 'timestamp,');
//print __METHOD__." Result for checking we don't have 'NUMERIC(' = ".$result."\n";
$this->assertTrue($result === false, 'Found type timestamp with option DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP after into '.$file.'. Bad.');
$this->assertTrue($result === false, 'Found type timestamp without option DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP after into '.$file.'. Bad.');

if ($dir == DOL_DOCUMENT_ROOT.'/install/mysql/migration') {
// Test for migration files only
Expand Down

0 comments on commit 1d1c381

Please sign in to comment.