Skip to content

Commit

Permalink
chore(EMS-3631-controller): fixed confidentiality text
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain Kassam committed Jul 24, 2024
1 parent 521b7f4 commit 771da43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('controllers/insurance/declarations/confidentiality', () => {
}),
...pageVariables(referenceNumber),
userName: getUserNameFromSession(req.session.user),
CONFIDENTIALITY,
CONFIDENTIALITY_CONTENT: CONFIDENTIALITY,
application: mapApplicationToFormFields(res.locals.application),
};

Expand Down Expand Up @@ -138,7 +138,7 @@ describe('controllers/insurance/declarations/confidentiality', () => {
}),
...pageVariables(referenceNumber),
userName: getUserNameFromSession(req.session.user),
CONFIDENTIALITY,
CONFIDENTIALITY_CONTENT: CONFIDENTIALITY,
validationErrors: generateValidationErrors(payload, FIELD_ID, ERROR_MESSAGES.INSURANCE.DECLARATIONS[FIELD_ID].IS_EMPTY),
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const get = async (req: Request, res: Response) => {
}),
...pageVariables(application.referenceNumber),
userName: getUserNameFromSession(req.session.user),
CONFIDENTIALITY,
CONFIDENTIALITY_CONTENT: CONFIDENTIALITY,
application: mapApplicationToFormFields(res.locals.application),
});
};
Expand Down Expand Up @@ -91,7 +91,7 @@ export const post = async (req: Request, res: Response) => {
}),
...pageVariables(referenceNumber),
userName: getUserNameFromSession(req.session.user),
CONFIDENTIALITY,
CONFIDENTIALITY_CONTENT: CONFIDENTIALITY,
validationErrors,
});
}
Expand Down

0 comments on commit 771da43

Please sign in to comment.