From 932206a1520dd80a48bc8c22b76b89b46443f606 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Jul 2014 21:04:17 +0200 Subject: [PATCH] Fix: phpunit --- htdocs/install/mysql/tables/llx_localtax.sql | 3 +-- test/phpunit/SqlTest.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_localtax.sql b/htdocs/install/mysql/tables/llx_localtax.sql index bc646ffc245..65c9fbe496b 100644 --- a/htdocs/install/mysql/tables/llx_localtax.sql +++ b/htdocs/install/mysql/tables/llx_localtax.sql @@ -21,7 +21,7 @@ create table llx_localtax ( rowid integer AUTO_INCREMENT PRIMARY KEY, entity integer DEFAULT 1 NOT NULL, - localtaxtype tinyint(4), + localtaxtype tinyint, tms timestamp, datep date, -- date of payment datev date, -- date of value @@ -31,5 +31,4 @@ create table llx_localtax fk_bank integer, fk_user_creat integer, fk_user_modif integer - )ENGINE=innodb; diff --git a/test/phpunit/SqlTest.php b/test/phpunit/SqlTest.php index bd2a3c57b5d..4cc5939b34d 100755 --- a/test/phpunit/SqlTest.php +++ b/test/phpunit/SqlTest.php @@ -152,7 +152,7 @@ class SqlTest extends PHPUnit_Framework_TestCase $this->assertTrue($result===false); $result=strpos($filecontent,'int('); - print __METHOD__." Result for checking we don't have back 'int(' instead of integer = ".$result."\n"; + print __METHOD__." Result for checking we don't have 'int(' instead of 'integer' = ".$result."\n"; $this->assertTrue($result===false); }