diff --git a/opensrp-eusm/src/test/java/org/smartregister/eusm/util/GeoJsonUtilsTest.java b/opensrp-eusm/src/test/java/org/smartregister/eusm/util/GeoJsonUtilsTest.java index b7aa48b..3f9aae7 100644 --- a/opensrp-eusm/src/test/java/org/smartregister/eusm/util/GeoJsonUtilsTest.java +++ b/opensrp-eusm/src/test/java/org/smartregister/eusm/util/GeoJsonUtilsTest.java @@ -39,6 +39,7 @@ public void testGetGeoJsonFromStructureDetailShouldReturnJsonStringWithMoreProps structureDetail.setCommune("Amabtorohanana"); structureDetail.setStructureId(UUID.randomUUID().toString()); structureDetail.setTaskStatus(Task.TaskStatus.READY.toString()); + structureDetail.setStructureType("waterpoint"); String jsonArrayString = geoJsonUtils.getGeoJsonFromStructureDetail(Collections.singletonList(structureDetail)); List structures = JsonFormUtils.gson.fromJson(jsonArrayString, new TypeToken>() { }.getType());