Skip to content

Commit

Permalink
feat: Update user service
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Telio committed Apr 16, 2024
1 parent 0c54ee7 commit f958d97
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ func (suite *UpdateUserHandlerTestSuite) SetupTest() {
suite.mockUserService = new(service.MockUserService)
suite.mockLoggerService = new(service.MockLoggerService)
suite.mockCryptoService = new(service.MockCryptoService)
suite.controller = controllers.NewUserController(suite.mockCryptoService, suite.mockUserService, suite.mockLoggerService)

services := &controllers.Services{
CryptoService: suite.mockCryptoService,
UserService: suite.mockUserService,
LoggerService: suite.mockLoggerService,
}

suite.controller = controllers.NewUserController(services)
suite.user = &entity.User{
ID: 1,
LastName: "Doe",
Expand Down

0 comments on commit f958d97

Please sign in to comment.