mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
The calculators of the adjustments related to the enterprise fees created in the test setup have a preferred_amount of 0. So, when computed, the adjustments' amounts end up being `0 = 0 * 1 line_item`. Then, the ReportService filters these out in `#exclude_groups_with_zero_total` from the result set. This is why the assertions can't find them in `totals`.