mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-26 10:54:40 -04:00
Tests now: - Use DatabaseTestTrait for real database integration - Actually call getData() and getSummaryData() methods - Verify row totals (subtotal + tax = total) from real queries - Verify summary data matches sum of rows - Test getDataColumns() returns expected structure - Use assertEqualsWithDelta for float comparisons with tolerance These tests exercise the actual SQL queries and verify the mathematical consistency of the calculations returned.