overwrite the default fields_to_hide to [] on OrderCycleSupplierTotals tests

This commit is contained in:
Mohamed ABDELLANI
2022-12-21 07:25:51 +01:00
parent 155b8ed725
commit 0d0c568b10

View File

@@ -13,7 +13,7 @@ module Reporting
end
let(:current_user) { distributor.owner }
let(:params) { { display_summary_row: false } }
let(:params) { { display_summary_row: false, fields_to_hide: [] } }
let(:report) do
OrderCycleSupplierTotals.new(current_user, params)
end