Skip to content

Commit

Permalink
DTSCCI-593 adding fixed dates to consumer tests (#5125)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmikerlemos authored Jul 22, 2024
1 parent c0c04d3 commit 60079a1
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ private Party getParty(String applicant) {
.individualTitle("Mr")
.individualFirstName(applicant)
.individualLastName("Silvassauro")
.individualDateOfBirth(LocalDate.now().minusDays(10))
.individualDateOfBirth(LocalDate.of(2019, 1, 1))
.companyName("company")
.organisationName("org")
.soleTraderTitle("soleTr")
.soleTraderFirstName("soleTrFN")
.soleTraderLastName("soleTrLN")
.soleTraderDateOfBirth(LocalDate.now().minusDays(10))
.soleTraderDateOfBirth(LocalDate.of(2019, 1, 1))
.primaryAddress(getTestAddress("rua1"))
.partyName(applicant)
.bulkClaimPartyName("bulk")
Expand All @@ -155,12 +155,12 @@ private List<Element<UnavailableDate>> getUnavailableTestDates() {
return List.of(Element.<UnavailableDate>builder().id(UUID.fromString("00e5384f-03b3-4634-8b67-6acb665e83ba"))
.value(UnavailableDate.builder()
.who("who")
.date(LocalDate.now())
.fromDate(LocalDate.now())
.toDate(LocalDate.now())
.date(LocalDate.of(2020, 1, 1))
.fromDate(LocalDate.of(2020, 1, 1))
.toDate(LocalDate.of(2020, 1, 1))
.unavailableDateType(UnavailableDateType.DATE_RANGE)
.eventAdded("eventAdd")
.dateAdded(LocalDate.now())
.dateAdded(LocalDate.of(2020, 1, 1))
.build()).build());
}

Expand Down

0 comments on commit 60079a1

Please sign in to comment.