Browse Source

Fix: phpunit

Laurent Destailleur 11 years ago
parent
commit
932206a152
2 changed files with 2 additions and 3 deletions
  1. 1 2
      htdocs/install/mysql/tables/llx_localtax.sql
  2. 1 1
      test/phpunit/SqlTest.php

+ 1 - 2
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;

+ 1 - 1
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);
 		}