Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Oct 22, 2024
1 parent d25b6c1 commit 3bb46a8
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void getOrCreateInsertsNew() {
coveragePeriodRepo.delete(period);

assertThrows(EntityNotFoundException.class,
() -> coverageService.getCoveragePeriod(contract1, 12, 2020)
() -> coverageService.getCoveragePeriod(contract1, 12, 2020)
);
}

Expand All @@ -243,10 +243,10 @@ void checkCoveragePeriodStatus() {
assertFalse(coverageService.isCoveragePeriodInProgress(period1Jan.getId()));

assertThrows(
CoveragePeriodNotFoundException.class,
() -> {
coverageService.isCoveragePeriodInProgress(999999999);
}
CoveragePeriodNotFoundException.class,
() -> {
coverageService.isCoveragePeriodInProgress(999999999);
}
);
}

Expand Down Expand Up @@ -453,7 +453,7 @@ void insertCoverage() {
Set<Identifiers> identifiers = Set.of(createIdentifier(123L), createIdentifier(456L),
createIdentifier(789L));
List<Long> originalBeneIds = identifiers.stream().map(Identifiers::getBeneficiaryId)
.collect(toList());
.collect(toList());

CoverageSearchEvent savedTo = coverageService.insertCoverage(inProgress.getId(), identifiers);

Expand Down Expand Up @@ -1410,4 +1410,3 @@ private Identifiers createIdentifier(Long suffix) {
return new Identifiers(suffix, "mbi-" + suffix, new LinkedHashSet<>());
}
}

0 comments on commit 3bb46a8

Please sign in to comment.