forked from Wavyzz/dolibarr
Fix cleaning html tags with trans and with GETPOST.
This commit is contained in:
@@ -143,14 +143,14 @@ class FormTest extends PHPUnit\Framework\TestCase
|
||||
$result=$localobject->select_produits_list('', 'productid', '', 5, 0, '', 1, 2, 1);
|
||||
|
||||
$this->assertEquals(count($result), 5);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
print __METHOD__." count result=".count($result)."\n";
|
||||
|
||||
$conf->global->ENTREPOT_EXTRA_STATUS = 1;
|
||||
|
||||
// Exclude stock in warehouseinternal
|
||||
$result=$localobject->select_produits_list('', 'productid', '', 5, 0, '', 1, 2, 1, 0, '1', 0, '', 0, 'warehouseclosed,warehouseopen');
|
||||
$this->assertEquals(count($result), 5);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
print __METHOD__." count result=".count($result)."\n";
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user