Fix regression

This commit is contained in:
Laurent Destailleur
2023-12-19 14:12:13 +01:00
parent e7c405425c
commit d423665551

View File

@@ -199,10 +199,10 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase
$sql = forgeSQLFromUniversalSearchCriteria($filter);
$this->assertEquals(" AND ((t.ref LIKE 'SO-%') or (t.date_creation < '20160101') or (t.date_creation < 0) or (t.nature IS NULL))", $sql);
$filter = 't.fk_soc IN (SELECT rowid FROM llx_societe WHERE fournisseur = 1)';
/*$filter = 't.fk_soc IN (SELECT rowid FROM llx_societe WHERE fournisseur = 1)';
$sql = forgeSQLFromUniversalSearchCriteria($filter);
$this->assertEquals(" xxx", $sql);
*/
return true;
}