Skip to content

Commit

Permalink
Update ApplicantDetailsPreparerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
spokenbird committed Mar 11, 2024
1 parent ddb875f commit f08aceb
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ void setup() {
.withPersonalInfo("John", "Doe", "10", "12", "1999",
"", "", "", "", "")
.with("isApplicantApplying", "Yes")
.with("isApplicantPregnant", "No")
.with("isApplicantPregnant", "Yes")
.with("applicantHasDisability", "Yes")
.with("applicantRace[]", List.of(RaceType.ASIAN.name(), RaceType.AMERICAN_INDIAN.name()))
.with("applicantEthnicity", EthnicityType.HISPANIC_OR_LATINO.name())
.build();
Expand All @@ -43,6 +44,10 @@ public void testFields() {
.isEqualTo(new SingleField("applicantRace", "1,2", null));
assertThat(result.get("applicantEthnicity"))
.isEqualTo(new SingleField("applicantEthnicity", "1", null));
assertThat(result.get("applicantIsPregnantName"))
.isEqualTo(new SingleField("applicantIsPregnantName", "See cover page", null));
assertThat(result.get("applicantHasDisabilityName"))
.isEqualTo(new SingleField("applicantHasDisabilityName", "See cover page", null));
}

@Test
Expand Down

0 comments on commit f08aceb

Please sign in to comment.