Chore: Add user service method GetByEmail (#53298)

This commit is contained in:
idafurjes
2022-08-04 13:47:30 +02:00
committed by GitHub
parent 1ecbe22751
commit af83a09a92
7 changed files with 23 additions and 8 deletions
@@ -137,10 +137,6 @@ func (m *SQLStoreMock) CreateUser(ctx context.Context, cmd user.CreateUserComman
return nil, m.ExpectedError
}
func (m *SQLStoreMock) GetUserByEmail(ctx context.Context, query *models.GetUserByEmailQuery) error {
return m.ExpectedError
}
func (m *SQLStoreMock) UpdateUser(ctx context.Context, cmd *models.UpdateUserCommand) error {
return m.ExpectedError
}