Skip to content

Commit

Permalink
use ageType instead of additional variables
Browse files Browse the repository at this point in the history
Co-authored-by: Jennifer Q <[email protected]>
  • Loading branch information
lorerod and latin-panda authored Nov 19, 2024
1 parent c781ede commit b80fb50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/factories/cht/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,12 @@ const createAdditionalKid = (nbrPersons, clinic) => {
};

const createAdditionalWoman = (nbrPersons, clinic) => {
return createAdditionalPersons(nbrPersons, clinic, 'adult');
return createAdditionalPersons(
nbrPersons,
clinic,
ADDITIONAL_WOMAN_FIRST_NAMES,
DATE_OF_BIRTHS_ADULTS,
);
};

const createReportsForWoman = (person, user) => {
Expand Down

0 comments on commit b80fb50

Please sign in to comment.