- 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>
- Add `downloadResponseBody()` helper to all controller export tests for asserting streamed download content (CSV/PDF).
- Update export test endpoints to explicitly include query parameters, e.g., `?search=` for consistency.
- Resolve private `$binary` access via reflection to verify download contents in exports.
- Fix issues with headers (`Content-Disposition` and `Content-Type`) and body assertions.
Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>