Skip to content

Commit

Permalink
INTYGFV-16761: Updated field to match CS.
Browse files Browse the repository at this point in the history
  • Loading branch information
cigerhed committed Aug 16, 2024
1 parent e2b2a4c commit d85cb4b
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 @@ -560,7 +560,7 @@ public UnitStatisticsRequestDTO getStatisticsRequest(List<String> unitIds) {
.careUnit(certificateServiceUnitHelper.getCareUnit())
.careProvider(certificateServiceUnitHelper.getCareProvider())
.user(certificateServiceUserHelper.get())
.unitIds(unitIds)
.availableUnitIds(unitIds)
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class UnitStatisticsRequestDTO {
CertificateServiceUnitDTO unit;
CertificateServiceUnitDTO careUnit;
CertificateServiceUnitDTO careProvider;
List<String> unitIds;
List<String> availableUnitIds;

@JsonPOJOBuilder(withPrefix = "")
public static class UnitStatisticsRequestDTOBuilder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ void shouldSetCareProvider() {
@Test
void shouldSetUnitIds() {
final var actualRequest = csIntegrationRequestFactory.getStatisticsRequest(UNIT_IDS);
assertEquals(UNIT_IDS, actualRequest.getUnitIds());
assertEquals(UNIT_IDS, actualRequest.getAvailableUnitIds());
}
}
}

0 comments on commit d85cb4b

Please sign in to comment.