kiesraad / abacus

Abacus, software voor verkiezingsuitslagen en zetelverdeling
https://kiesraad-abacus.pages.dev
European Union Public License 1.2
19 stars 6 forks source link

split single CandidatesVotesForm test in two separate tests #557

Closed jschuurk-kr closed 2 weeks ago

jschuurk-kr commented 2 weeks ago

In CandidatesVotesForm.test.tsx the test "CandidateVotesForm request body is equal to the form data" covered both the contents of the request, and the showing of an error message when the field "Totaal lijst " is not filled. This PR moves the test of the error message to a separate test.