From 1d1c381e98606f22dc4fdea9e05077b57b8b949c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Nov 2024 01:44:13 +0100 Subject: [PATCH] Fix message --- test/phpunit/CodingSqlTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/CodingSqlTest.php b/test/phpunit/CodingSqlTest.php index eb421bce9e2e3..8a986d21225b9 100644 --- a/test/phpunit/CodingSqlTest.php +++ b/test/phpunit/CodingSqlTest.php @@ -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