Skip to content

Commit

Permalink
Merge branch 'master' into CIV-10119
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarnathekkoot authored Sep 15, 2023
2 parents 9bb48a5 + 0f9f8c7 commit 63c618d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ void shouldThrowUnprocessableEntityExceptionCaseWorkerSubmit() {
.thenThrow(CaseDataInvalidException.class);

doPost(
BEARER_TOKEN,
CaseworkerSubmitEventDTo.builder().event(CaseEvent.CREATE_CLAIM_SPEC).data(Map.of()).build(),
CASEWORKER_SUBMIT_EVENT_URL,
"userId",
"jurisdictionId",
"caseTypeId"
BEARER_TOKEN,
CaseworkerSubmitEventDTo.builder().event(CaseEvent.CREATE_CLAIM_SPEC).data(Map.of()).build(),
CASEWORKER_SUBMIT_EVENT_URL,
"userId",
"jurisdictionId",
"caseTypeId"
)
.andExpect(status().isUnprocessableEntity())
.andExpect(content().string("Submit claim unsuccessful, Invalid Case data"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ public class RespondentLiPResponse {
private DQExtraDetailsLip respondent1DQExtraDetails;
private HearingSupportLip respondent1DQHearingSupportLip;
private String respondent1ResponseLanguage;
private String helpWithFeesReferenceNumberLip;
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private CaseData getCaseData(String partyEmail, String claimantUserEmail) {
CaseData caseData = CaseDataBuilder.builder().atStateClaimNotified().build().toBuilder()
.applicant1(PartyBuilder.builder().individual().build().toBuilder()
.partyEmail(partyEmail)
.build())
.build())
.respondent1(PartyBuilder.builder().soleTrader().build().toBuilder()
.build())
.claimDetailsNotificationDate(LocalDateTime.now())
Expand Down

0 comments on commit 63c618d

Please sign in to comment.