Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Unused Dependencies and Functions in CreateOrderCommandHandler and Test Class #704

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fkucukkara
Copy link
Contributor

This PR focuses on code cleanup and refactoring to improve maintainability and readability by removing unused parameters and functions in the codebase. The following changes have been made:

Removed Unused Dependencies in CreateOrderCommandHandler:
Deleted the unused private readonly fields:
_identityService (IIdentityService)
_mediator (IMediator)

Updated Test Class NewOrderRequestHandlerTest:
Adjusted the test class to reflect the changes in CreateOrderCommandHandler by removing references or logic that depended on the eliminated dependencies.

Removed Unused Private Function in NewOrderRequestHandlerTest:
Deleted the FakeBuyer private function, which was no longer utilized within the test class.

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.

1 participant