Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • Introduced MerchantStatementDomainServiceTests with comprehensive tests for adding transactions, settled fees, recording activity dates, generating statements, and emailing statements.
  • Updated TestData.cs with new command definitions and aggregate instances to support the new tests.
  • Modified MerchantStatementDomainService.cs to include email sending logic and token retrieval, while simplifying statement date generation error handling.
  • Updated using directives in relevant files to include necessary namespaces for new functionality.
    Fixes Imporve Test Coverage on Merchant Statement Domain Service #810

- Introduced `MerchantStatementDomainServiceTests` with comprehensive tests for adding transactions, settled fees, recording activity dates, generating statements, and emailing statements.
- Updated `TestData.cs` with new command definitions and aggregate instances to support the new tests.
- Modified `MerchantStatementDomainService.cs` to include email sending logic and token retrieval, while simplifying statement date generation error handling.
- Updated `using` directives in relevant files to include necessary namespaces for new functionality.
@StuartFerguson StuartFerguson merged commit b38b507 into master May 16, 2025
9 checks passed
@github-actions github-actions bot deleted the task/#810_improve_code_coverage branch July 16, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Imporve Test Coverage on Merchant Statement Domain Service

2 participants