Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • Added new merchants and files to the context in FileProcessingManagerTests.cs for better test data setup.
  • Changed SaveChanges to SaveChangesAsync for asynchronous operation.
  • Introduced a new test method FileProcessingManager_GetFile_FileAggregateFailed_ErrorReturned to validate error handling for file aggregation failures.
  • Streamlined query logic in FileProcessorManager.cs for retrieving import log files and merchants based on merchant ID.
  • Updated TestData.cs to include file locations for improved test data realism.

- Added new merchants and files to the context in `FileProcessingManagerTests.cs` for better test data setup.
- Changed `SaveChanges` to `SaveChangesAsync` for asynchronous operation.
- Introduced a new test method `FileProcessingManager_GetFile_FileAggregateFailed_ErrorReturned` to validate error handling for file aggregation failures.
- Streamlined query logic in `FileProcessorManager.cs` for retrieving import log files and merchants based on merchant ID.
- Updated `TestData.cs` to include file locations for improved test data realism.
@StuartFerguson StuartFerguson merged commit 1b2394f into main Mar 19, 2025
5 checks passed
@github-actions github-actions bot deleted the task/#432_manager_tests_updates branch May 19, 2025 01:12
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.

Break out Database Calls in FileProcessorManager to a repository to aid testing

2 participants