Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pirosiki197 committed Jan 4, 2025
1 parent d1ef3d9 commit e19ed61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/usecase/team_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestCreateTeam(t *testing.T) {
teamUseCase := usecase.NewTeamUseCase(mockRepo)

mockRepo.EXPECT().FindUser(gomock.Any(), gomock.Any()).
DoAndReturn(func(ctx context.Context, id string) (domain.User, error) {
DoAndReturn(func(_ context.Context, id string) (domain.User, error) {
return domain.User{ID: id}, nil
}).
AnyTimes()
Expand Down Expand Up @@ -83,12 +83,12 @@ func TestUpdateTeam(t *testing.T) {
teamUseCase := usecase.NewTeamUseCase(mockRepo)

mockRepo.EXPECT().FindTeam(gomock.Any(), gomock.Any()).
DoAndReturn(func(ctx context.Context, id string) (domain.Team, error) {
DoAndReturn(func(_ context.Context, id string) (domain.Team, error) {
return domain.Team{ID: id}, nil
}).
AnyTimes()
mockRepo.EXPECT().FindUser(gomock.Any(), gomock.Any()).
DoAndReturn(func(ctx context.Context, id string) (domain.User, error) {
DoAndReturn(func(_ context.Context, id string) (domain.User, error) {
return domain.User{ID: id}, nil
}).
AnyTimes()
Expand Down

0 comments on commit e19ed61

Please sign in to comment.