From e99fe6ee6f809a8aa3c307f8f9cd12cd1f96a7af Mon Sep 17 00:00:00 2001 From: Jerry Wang Date: Wed, 14 Aug 2024 14:37:53 -0700 Subject: [PATCH] fix e2e test --- apps/api/test/12-externalapi.e2e-spec.ts | 2 +- apps/api/test/13-bccnm-ncas-update.e2e-spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/api/test/12-externalapi.e2e-spec.ts b/apps/api/test/12-externalapi.e2e-spec.ts index 08fe5804..d8fefe4f 100644 --- a/apps/api/test/12-externalapi.e2e-spec.ts +++ b/apps/api/test/12-externalapi.e2e-spec.ts @@ -75,7 +75,7 @@ describe('ExternalAPIController (e2e)', () => { 'BCCNM Application Complete': dayjs(faker.date.past(2)).format('YYYY-MM-DD'), 'Registration Designation': 'BCCNM Provisional Licence LPN', 'Date ROS Contract Signed': dayjs(faker.date.past(1)).format('YYYY-MM-DD'), - 'Country of Education': 'kr', + 'ISO Code - Education': 'kr', }; }); }; diff --git a/apps/api/test/13-bccnm-ncas-update.e2e-spec.ts b/apps/api/test/13-bccnm-ncas-update.e2e-spec.ts index 5fff061a..d819a50a 100644 --- a/apps/api/test/13-bccnm-ncas-update.e2e-spec.ts +++ b/apps/api/test/13-bccnm-ncas-update.e2e-spec.ts @@ -62,7 +62,7 @@ describe('BCCNM/NCAS Updates', () => { 'NCAS Assessment Complete': 'Yes', 'BCCNM Application Complete': 'Yes', 'Registration Designation': 'BCCNM Provisional Licence LPN', - 'Country of Education': 'kr', + 'ISO Code - Education': 'kr', 'Date ROS Contract Signed': dayjs( faker.date.between(applicant.registration_date ?? between[0], between[1]), ).format('YYYY-MM-DD'), @@ -79,7 +79,7 @@ describe('BCCNM/NCAS Updates', () => { v['Date ROS Contract Signed'] = ''; v['BCCNM Application Complete'] = 'No'; v['NCAS Assessment Complete'] = ''; - v['Country of Education'] = ''; + v['ISO Code - Education'] = ''; }); dataToUpdate.push(