From 34f5483b26bfcf7cb48f2d4ef996bd9c624eaad2 Mon Sep 17 00:00:00 2001 From: Chukwudumebi Onwuli <37223065+deeonwuli@users.noreply.github.com> Date: Mon, 14 Oct 2024 06:54:23 -0700 Subject: [PATCH] fix: failing test --- .../repositories/test/DiseaseOutbreakEventTestRepository.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/data/repositories/test/DiseaseOutbreakEventTestRepository.ts b/src/data/repositories/test/DiseaseOutbreakEventTestRepository.ts index 1ae3b757..e96af433 100644 --- a/src/data/repositories/test/DiseaseOutbreakEventTestRepository.ts +++ b/src/data/repositories/test/DiseaseOutbreakEventTestRepository.ts @@ -127,7 +127,7 @@ export class DiseaseOutbreakEventTestRepository implements DiseaseOutbreakEventR notificationSourceCode: "1", areasAffectedDistrictIds: [], areasAffectedProvinceIds: [], - incidentStatus: IncidentStatus.RTSL_ZEB_OS_INCIDENT_STATUS_WATCH, + incidentStatus: NationalIncidentStatus.RTSL_ZEB_OS_INCIDENT_STATUS_WATCH, emerged: { date: new Date(), narrative: "emerged" }, detected: { date: new Date(), narrative: "detected" }, notified: { date: new Date(), narrative: "notified" }, @@ -143,6 +143,7 @@ export class DiseaseOutbreakEventTestRepository implements DiseaseOutbreakEventR }, incidentManagerName: "incidentManager", notes: undefined, + status: "ACTIVE", }, { id: "2", @@ -157,7 +158,7 @@ export class DiseaseOutbreakEventTestRepository implements DiseaseOutbreakEventR notificationSourceCode: "2", areasAffectedDistrictIds: [], areasAffectedProvinceIds: [], - incidentStatus: IncidentStatus.RTSL_ZEB_OS_INCIDENT_STATUS_WATCH, + incidentStatus: NationalIncidentStatus.RTSL_ZEB_OS_INCIDENT_STATUS_WATCH, emerged: { date: new Date(), narrative: "emerged" }, detected: { date: new Date(), narrative: "detected" }, notified: { date: new Date(), narrative: "notified" }, @@ -173,6 +174,7 @@ export class DiseaseOutbreakEventTestRepository implements DiseaseOutbreakEventR }, incidentManagerName: "incidentManager", notes: undefined, + status: "COMPLETED", }, ]); }