Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit introduces a set of unit tests for the AuthHandlers in the API. Each test case covers a specific functionality, such as SignUp, SignIn, GetUser, DeleteUser, ChangeUserRole, UpdateUserPassword, UpdateUserEmail, UpdateUserName, and ListUsers. Custom mock client wrappers are used to simulate the behavior of the gRPC service calls, ensuring that the handlers interact correctly with the AuthService. The tests aim to improve the test coverage and validate the correctness of the authentication-related endpoints.
- Loading branch information