Skip to content

Commit

Permalink
MET-5968 Use 'high_quality' instead of 'hq' in response
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjmaclean committed Jul 4, 2024
1 parent ccb2c44 commit 76d5470
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class HistoricalCountryTargetData {
@JsonProperty("three_d")
private int threeD;

@JsonProperty("hq")
@JsonProperty("high_quality")
private int highQuality;

@JsonProperty("total")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public enum TargetType {

THREE_D("three_d"),
HIGH_QUALITY("hq"),
HIGH_QUALITY("high_quality"),
TOTAL_RECORDS("total"),;

private final String valueAsString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void getCountryTargets_expectSuccess(){
assertEquals(daoResult.size() * 3, result.size());

assertEquals("three_d", result.get(0).getTargetType().getValue());
assertEquals("hq", result.get(1).getTargetType().getValue());
assertEquals("high_quality", result.get(1).getTargetType().getValue());
assertEquals("total", result.get(2).getTargetType().getValue());

for (int i = 0; i < 3; i++) {
Expand Down

0 comments on commit 76d5470

Please sign in to comment.