mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-11-08 23:43:32 -05:00
- CashupControllerTest: add start_date/end_date params to export-all CSV/PDF requests and update expected totals/body assertions to match seeded cashup data (closed_amount_total 169.42). - ExpensesControllerTest: replace manual seeder bootstrap with shared DatabaseBootstrapTrait::resetDatabaseOnce, and grant expenses_categories permission to test employee for category access. - ReportsControllerTest: invoke buildDownloadHeaders on response before asserting Content-Disposition, matching actual download flow. - export_helperTest / tabular_helperTest: replace manual OSPOS config mock construction (Factories::injectMock) with shared OsposConfigFixtureTrait::injectOsposSettings, reducing duplication and adding missing number_locale/currency_symbol settings. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>