Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
freekode committed Mar 24, 2024
1 parent e3d4a2b commit 9a3f802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ import org.springframework.web.multipart.MultipartFile
)
interface IntervalsApiClient {

@PostMapping("/api/v1/athlete/{athleteId}/workouts")
fun createWorkout(
@PathVariable athleteId: String,
@RequestBody createWorkoutRequestDTO: CreateWorkoutRequestDTO
)

@PostMapping("/api/v1/athlete/{athleteId}/workouts/bulk")
fun createWorkouts(
@PathVariable athleteId: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.freekode.tp2intervals.infrastructure.platform.intervalsicu.folder.Fol
import org.freekode.tp2intervals.infrastructure.platform.intervalsicu.workout.CreateEventRequestDTO
import org.freekode.tp2intervals.infrastructure.platform.intervalsicu.workout.CreateWorkoutRequestDTO
import org.freekode.tp2intervals.infrastructure.platform.intervalsicu.workout.IntervalsEventDTO
import org.jetbrains.annotations.NotNull
import org.springframework.web.multipart.MultipartFile

class MockIntervalsApiClient implements IntervalsApiClient {
Expand All @@ -21,8 +22,7 @@ class MockIntervalsApiClient implements IntervalsApiClient {
}

@Override
void createWorkout(String athleteId, CreateWorkoutRequestDTO createWorkoutRequestDTO) {

void createWorkouts(String athleteId, List<CreateWorkoutRequestDTO> requests) {
}

@Override
Expand Down

0 comments on commit 9a3f802

Please sign in to comment.