Skip to content

Commit

Permalink
fix variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel committed Nov 19, 2024
1 parent 670ed79 commit 418b622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/factories/cht/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ const createAdditionalPersons = (nbrPersons, clinic, ageType) => {
.map((_, i) => {
const additionalPhoneNumber = PHONE_NUMBERS[i % PHONE_NUMBERS.length];
let name;
let additionalPersonName;
let date_of_birth;
let additionalPersonName;
if (ageType === 'kid') {
name = ADDITIONAL_KID_FIRST_NAMES[i % ADDITIONAL_KID_FIRST_NAMES.length];
additionalPersonName = `${name} ${clinic.last_name}`;
Expand Down

0 comments on commit 418b622

Please sign in to comment.