From 565120e01e1af68b40d0c4058f8f38c9deb67f26 Mon Sep 17 00:00:00 2001 From: R Ranathunga Date: Tue, 10 Sep 2024 14:23:28 -0700 Subject: [PATCH] refactor: assessment types --- .../emails/templates/assessmentAssigneeChange.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/tests/backend/lib/emails/templates/assessmentAssigneeChange.test.ts b/app/tests/backend/lib/emails/templates/assessmentAssigneeChange.test.ts index 7a3c17c82b..e133837348 100644 --- a/app/tests/backend/lib/emails/templates/assessmentAssigneeChange.test.ts +++ b/app/tests/backend/lib/emails/templates/assessmentAssigneeChange.test.ts @@ -58,7 +58,7 @@ describe('assessmentAssigneeChange template', () => { }, { applicationId: 3, - assessmentType: 'technical', + assessmentType: 'financialRisk', assignedTo: 'Tester 2', assigneeEmail: 'tester2@mail.com', ccbcNumber: 'CCBC-000003', @@ -93,7 +93,7 @@ describe('assessmentAssigneeChange template', () => { { ccbcNumber: 'CCBC-000001', applicationId: 1, - type: 'technical', + type: 'Technical Assessment', url: 'http://mock_host.ca/analyst/application/1/assessments/technical', }, ], @@ -106,7 +106,7 @@ describe('assessmentAssigneeChange template', () => { { ccbcNumber: 'CCBC-000002', applicationId: 2, - type: 'technical', + type: 'Technical Assessment', url: 'http://mock_host.ca/analyst/application/2/assessments/technical', }, ], @@ -117,8 +117,8 @@ describe('assessmentAssigneeChange template', () => { { ccbcNumber: 'CCBC-000003', applicationId: 3, - type: 'technical', - url: 'http://mock_host.ca/analyst/application/3/assessments/technical', + type: 'Financial Risk Assessment', + url: 'http://mock_host.ca/analyst/application/3/assessments/financialRisk', }, ], assignors: 'Assignor 3',