Skip to content

Commit

Permalink
Fix main field
Browse files Browse the repository at this point in the history
  • Loading branch information
minkukjo committed Aug 17, 2024
1 parent 5a405e6 commit 68607a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ void get_weather_test() throws Exception {
ArrayList<WeatherField> weatherFields = new ArrayList<>();
weatherFields.add(weatherField);
MainField mainField = new MainField(301.0);

WeatherApiResponse weatherApiResponse = new WeatherApiResponse(weatherFields, mainField);

given(weatherService.getWeather(any())).willReturn(weatherApiResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public class MainField {

private Double temp;
Expand Down

0 comments on commit 68607a8

Please sign in to comment.