Skip to content

Refactor user creation tests and implement UserCreationService unit tests#59

Merged
samuelzedec merged 1 commit intomainfrom
develop
Aug 11, 2025
Merged

Refactor user creation tests and implement UserCreationService unit tests#59
samuelzedec merged 1 commit intomainfrom
develop

Conversation

@samuelzedec
Copy link
Owner

  • Updated CreateUserCommandHandlerUnitTests to use IUserCreationService instead of IAuthService.
  • Enhanced success and conflict tests to verify user creation logic and transaction handling.
  • Added new UserCreationServiceUnitTest to validate user creation scenarios, including existing user checks and exception handling for email, username, phone, and tax ID conflicts.
  • Improved test assertions and mock setups for better clarity and coverage.

…ests

- Updated CreateUserCommandHandlerUnitTests to use IUserCreationService instead of IAuthService.
- Enhanced success and conflict tests to verify user creation logic and transaction handling.
- Added new UserCreationServiceUnitTest to validate user creation scenarios, including existing user checks and exception handling for email, username, phone, and tax ID conflicts.
- Improved test assertions and mock setups for better clarity and coverage.
@samuelzedec samuelzedec force-pushed the develop branch 2 times, most recently from fd6f28d to de9855b Compare August 11, 2025 12:05
@samuelzedec samuelzedec merged commit ad87cc6 into main Aug 11, 2025
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