Skip to content

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

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

Make date range dynamic in query; improve test assertions#493
StuartFerguson merged 2 commits into
mainfrom
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 merged commit 926e742 into main Mar 10, 2026
5 checks passed
@github-actions github-actions Bot deleted the bug/#491_product_performance_percentages branch May 10, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Product Performance Report - Percentages all zero

1 participant