Skip to content

Commit

Permalink
Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bseeger committed Feb 14, 2024
1 parent 9e8dcac commit fd77096
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ public SubmissionTestBuilder withPersonalInfo(
return this;
}

public SubmissionTestBuilder allAreCitizens(String val) {
submission.getInputData().put("allAreCitizens", val);
return this;
}

public SubmissionTestBuilder withHouseholdMember(
String firstName, String lastName,
String birthDay, String birthMonth, String birthYear,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ void raceEthnicityFlow() {
.filter(ei -> ei.getAttribute("value").equals("Hispanic or Latino"))
.forEach(ei -> {
ei.click();
assertThat(ei.isSelected()).isTrue();
});

testPage.clickContinue();
Expand Down Expand Up @@ -322,7 +321,6 @@ void raceEthnicityFlow() {
})
.forEach(ri -> {
ri.click();
assertThat(ri.isSelected()).isTrue();
});

testPage.clickContinue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void testApplicantFullName() {
Submission submission = new SubmissionTestBuilder()
.withPersonalInfo("John", "Doe", "10", "12", "1999",
"", "", "", "", "")
.allAreCitizens("true")
.with("allAreCitizens", "true")
.build();

Map<String, SubmissionField> result = preparer.prepareSubmissionFields(submission, null);
Expand Down

0 comments on commit fd77096

Please sign in to comment.