diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-alert_threshold-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-alert_threshold-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-alert_threshold-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-alert_threshold-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-damage_estimation-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-damage_estimation-3.json index f97aa75cbc..58b9d71c41 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-damage_estimation-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-damage_estimation-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", - "amount": 44462611 + "placeCode": "MW31531", + "amount": 10000 }, { - "placeCode": "MW30501", - "amount": 180086610 + "placeCode": "MW31532", + "amount": 10000 }, { - "placeCode": "MW30504", - "amount": 75243416 + "placeCode": "MW31533", + "amount": 10000 }, { - "placeCode": "MW30502", - "amount": 5677042 + "placeCode": "MW31534", + "amount": 10000 }, { - "placeCode": "MW30506", - "amount": 5301460 + "placeCode": "MW31535", + "amount": 10000 }, { - "placeCode": "MW30507", - "amount": 401385 + "placeCode": "MW31536", + "amount": 10000 }, { - "placeCode": "MW30505", - "amount": 716022 + "placeCode": "MW31537", + "amount": 10000 }, { - "placeCode": "MW30508", - "amount": 456456 + "placeCode": "MW31538", + "amount": 10000 + }, + { + "placeCode": "MW31539", + "amount": 10000 + }, + { + "placeCode": "MW31540", + "amount": 10000 + }, + { + "placeCode": "MW31541", + "amount": 10000 + }, + { + "placeCode": "MW31542", + "amount": 10000 + }, + { + "placeCode": "MW31543", + "amount": 10000 + }, + { + "placeCode": "MW31544", + "amount": 10000 + }, + { + "placeCode": "MW31545", + "amount": 10000 + }, + { + "placeCode": "MW31546", + "amount": 10000 + }, + { + "placeCode": "MW31547", + "amount": 10000 + }, + { + "placeCode": "MW31548", + "amount": 10000 + }, + { + "placeCode": "MW31549", + "amount": 10000 + }, + { + "placeCode": "MW31550", + "amount": 10000 + }, + { + "placeCode": "MW31551", + "amount": 10000 + }, + { + "placeCode": "MW31552", + "amount": 10000 + }, + { + "placeCode": "MW31553", + "amount": 10000 + }, + { + "placeCode": "MW31554", + "amount": 10000 + }, + { + "placeCode": "MW31555", + "amount": 10000 + }, + { + "placeCode": "MW31556", + "amount": 10000 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_buildings-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_buildings-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_buildings-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_buildings-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_clinics-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_clinics-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_clinics-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_clinics-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_roads-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_roads-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_roads-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_roads-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_schools-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_schools-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_schools-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_schools-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_waterpoints-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_waterpoints-3.json index b9b3b69039..48e896fdb9 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_waterpoints-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-nr_affected_waterpoints-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 1 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 1 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 1 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 1 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 1 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 1 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 1 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 1 + }, + { + "placeCode": "MW31539", + "amount": 1 + }, + { + "placeCode": "MW31540", + "amount": 1 + }, + { + "placeCode": "MW31541", + "amount": 1 + }, + { + "placeCode": "MW31542", + "amount": 1 + }, + { + "placeCode": "MW31543", + "amount": 1 + }, + { + "placeCode": "MW31544", + "amount": 1 + }, + { + "placeCode": "MW31545", + "amount": 1 + }, + { + "placeCode": "MW31546", + "amount": 1 + }, + { + "placeCode": "MW31547", + "amount": 1 + }, + { + "placeCode": "MW31548", + "amount": 1 + }, + { + "placeCode": "MW31549", + "amount": 1 + }, + { + "placeCode": "MW31550", + "amount": 1 + }, + { + "placeCode": "MW31551", + "amount": 1 + }, + { + "placeCode": "MW31552", + "amount": 1 + }, + { + "placeCode": "MW31553", + "amount": 1 + }, + { + "placeCode": "MW31554", + "amount": 1 + }, + { + "placeCode": "MW31555", + "amount": 1 + }, + { + "placeCode": "MW31556", "amount": 1 } ] diff --git a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-population_affected-3.json b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-population_affected-3.json index 39d580dca2..cae9456f7d 100644 --- a/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-population_affected-3.json +++ b/services/API-service/src/scripts/mock-data/flash-floods/MWI/trigger/Blantyre City/upload-population_affected-3.json @@ -1,34 +1,106 @@ [ { - "placeCode": "MW30503", + "placeCode": "MW31531", "amount": 100 }, { - "placeCode": "MW30501", + "placeCode": "MW31532", "amount": 100 }, { - "placeCode": "MW30504", + "placeCode": "MW31533", "amount": 100 }, { - "placeCode": "MW30502", + "placeCode": "MW31534", "amount": 100 }, { - "placeCode": "MW30506", + "placeCode": "MW31535", "amount": 100 }, { - "placeCode": "MW30507", + "placeCode": "MW31536", "amount": 100 }, { - "placeCode": "MW30505", + "placeCode": "MW31537", "amount": 100 }, { - "placeCode": "MW30508", + "placeCode": "MW31538", + "amount": 100 + }, + { + "placeCode": "MW31539", + "amount": 100 + }, + { + "placeCode": "MW31540", + "amount": 100 + }, + { + "placeCode": "MW31541", + "amount": 100 + }, + { + "placeCode": "MW31542", + "amount": 100 + }, + { + "placeCode": "MW31543", + "amount": 100 + }, + { + "placeCode": "MW31544", + "amount": 100 + }, + { + "placeCode": "MW31545", + "amount": 100 + }, + { + "placeCode": "MW31546", + "amount": 100 + }, + { + "placeCode": "MW31547", + "amount": 100 + }, + { + "placeCode": "MW31548", + "amount": 100 + }, + { + "placeCode": "MW31549", + "amount": 100 + }, + { + "placeCode": "MW31550", + "amount": 100 + }, + { + "placeCode": "MW31551", + "amount": 100 + }, + { + "placeCode": "MW31552", + "amount": 100 + }, + { + "placeCode": "MW31553", + "amount": 100 + }, + { + "placeCode": "MW31554", + "amount": 100 + }, + { + "placeCode": "MW31555", + "amount": 100 + }, + { + "placeCode": "MW31556", "amount": 100 } ] diff --git a/tests/integration/email/floods/email-ssd-floods.test.ts b/tests/integration/email/floods/email-ssd-floods.test.ts index 03156d88fa..af6d2b753f 100644 --- a/tests/integration/email/floods/email-ssd-floods.test.ts +++ b/tests/integration/email/floods/email-ssd-floods.test.ts @@ -11,7 +11,8 @@ describe('Should send an email for ssd floods', () => { await resetDB(accessToken); }); - it('trigger', async () => { + // Unskip when there is a need to test SSD in addition to UGA again + it.skip('trigger', async () => { const events = [{ eventName: 'G5100', leadTime: '4-day' }]; const result = await testFloodScenario(FloodsScenario.Trigger, { events, @@ -21,7 +22,7 @@ describe('Should send an email for ssd floods', () => { expect(result).toBeTruthy(); }); - it('no-trigger', async () => { + it.skip('no-trigger', async () => { const events = []; const result = await testFloodScenario(FloodsScenario.NoTrigger, { events,