fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 01:48:22 +00:00
parent 460a1dcac0
commit 4cb0bc6221
2 changed files with 4 additions and 6 deletions

View File

@ -464,10 +464,9 @@ final class PurchaseBillMapper extends BillMapper
itemmgmt_attr_value_l11n_title; itemmgmt_attr_value_l11n_title;
SQL; SQL;
$query = new Builder(self::$db); $query = new Builder(self::$db);
$result = $query->raw($sql)->execute()?->fetchAll(\PDO::FETCH_ASSOC) ?? [];
return $result; return $query->raw($sql)->execute()?->fetchAll(\PDO::FETCH_ASSOC) ?? [];
} }
/** /**

View File

@ -573,10 +573,9 @@ final class SalesBillMapper extends BillMapper
itemmgmt_attr_value_l11n_title; itemmgmt_attr_value_l11n_title;
SQL; SQL;
$query = new Builder(self::$db); $query = new Builder(self::$db);
$result = $query->raw($sql)->execute()?->fetchAll(\PDO::FETCH_ASSOC) ?? [];
return $result; return $query->raw($sql)->execute()?->fetchAll(\PDO::FETCH_ASSOC) ?? [];
} }
/** /**