Skip to content

Make date range dynamic in query; improve test assertions#493

Merged
StuartFerguson merged 2 commits intomainfrom
bug/#491_product_performance_percentages
Mar 10, 2026
Merged

Make date range dynamic in query; improve test assertions#493
StuartFerguson merged 2 commits intomainfrom
bug/#491_product_performance_percentages

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Updated ReportingManager to use request-supplied start and end dates for grand total amount queries instead of hardcoded values. Enhanced TransactionsEndpointTests by asserting that PercentageOfTotal is non-zero, ensuring more robust test coverage.

fixes #491

Updated ReportingManager to use request-supplied start and end dates for grand total amount queries instead of hardcoded values. Enhanced TransactionsEndpointTests by asserting that PercentageOfTotal is non-zero, ensuring more robust test coverage.
@StuartFerguson StuartFerguson added the bug Bugs and error-prone code label Mar 10, 2026
@StuartFerguson StuartFerguson merged commit 926e742 into main Mar 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs and error-prone code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Product Performance Report - Percentages all zero

1 participant