From 3acb528ab0a93a66c35b0696970a509781953b33 Mon Sep 17 00:00:00 2001 From: Matt <173997080+sw-mattw@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:49:39 +0000 Subject: [PATCH] feat(FN-3669): use getFormattedMonetaryValue helper instead of hardcoded -- review comment --- .../record-correction/check-the-information/index.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portal/server/controllers/utilisation-report-service/record-correction/check-the-information/index.test.ts b/portal/server/controllers/utilisation-report-service/record-correction/check-the-information/index.test.ts index 11e78d7814..993091f8a7 100644 --- a/portal/server/controllers/utilisation-report-service/record-correction/check-the-information/index.test.ts +++ b/portal/server/controllers/utilisation-report-service/record-correction/check-the-information/index.test.ts @@ -6,6 +6,7 @@ import { aPortalSessionUser, CURRENCY, FeeRecordCorrectionReviewInformation, + getFormattedMonetaryValue, mapReasonsToDisplayValues, PORTAL_LOGIN_STATUS, } from '@ukef/dtfs2-common'; @@ -88,7 +89,7 @@ describe('controllers/utilisation-reports/record-corrections/check-the-informati exporter, reportedFees: { currency: reportedFeesCurrency, - formattedAmount: '1,234.56', + formattedAmount: getFormattedMonetaryValue(reportedFeesAmount), }, };