Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTSCCI-593 adding fixed dates to consumer tests #5125

Merged
merged 6 commits into from
Jul 22, 2024
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
Loading