From 0c86783ccb0f181bce4c4760a9e14d59a22e72bd Mon Sep 17 00:00:00 2001 From: Joy A Date: Tue, 16 Jan 2024 21:33:15 +0530 Subject: [PATCH] #0 | Fix failing test due to constraint check added in avniproject/avni-server#678 (cherry picked from commit e9e09a7ca07ae4e71a7a14448e4a42de8b4b09d8) --- src/test/resources/organisation-group.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/organisation-group.sql b/src/test/resources/organisation-group.sql index 2c6852e..9b2218c 100644 --- a/src/test/resources/organisation-group.sql +++ b/src/test/resources/organisation-group.sql @@ -228,4 +228,4 @@ INSERT INTO program_enrolment (id, program_id, individual_id, program_outcome_id INSERT INTO program_encounter (id, observations, earliest_visit_date_time, encounter_date_time, program_enrolment_id, uuid, version, encounter_type_id, name, max_visit_date_time, organisation_id, cancel_date_time, cancel_observations, audit_id, is_voided, encounter_location, cancel_location, legacy_id, created_by_id, last_modified_by_id, created_date_time, last_modified_date_time, address_id, individual_id, sync_concept_1_value, sync_concept_2_value) VALUES (977067, '{"79deda49-7e16-4980-a784-c54054da8931": "a5f8335c-0be1-46a1-b12a-bd3e5ccad60e"}', null, '2022-04-06 07:15:07.000 +00:00', 250708, 'e73e0f79-4876-42e3-b9e6-f9fb131fb8a3', 0, 3053, 'Growth Monitoring', null, 14, null, '{}', create_audit(), false, null, null, null, 1, 1, '2022-04-06 07:15:10.982 +00:00', '2022-04-06 07:15:10.982 +00:00', 207786, 674170, null, null); INSERT INTO entity_approval_status(id, uuid, entity_id, entity_type, approval_status_id, approval_status_comment, organisation_id, auto_approved, audit_id, version, is_voided, status_date_time, created_by_id, last_modified_by_id, created_date_time, last_modified_date_time, entity_type_uuid, address_id, individual_id, sync_concept_1_value, sync_concept_2_value) values (500, '01a1f2af-a6e6-4ab4-934d-e15adbf3a138', 674170, 'Subject', 1, null, 14, false, create_audit(1), 0, false, '2022-04-05 11:47:04.749 +00:00', 1, 1, '2022-04-05 11:47:04.749 +00:00', '2022-04-05 11:47:04.749 +00:00', '19f9c741-a8b1-4be6-9aab-c0e5ae4e0cd8', 207786, 674170, null, null); -INSERT INTO entity_approval_status(id, uuid, entity_id, entity_type, approval_status_id, approval_status_comment, organisation_id, auto_approved, audit_id, version, is_voided, status_date_time, created_by_id, last_modified_by_id, created_date_time, last_modified_date_time, entity_type_uuid, address_id, individual_id, sync_concept_1_value, sync_concept_2_value) values (501, '1bf0338e-16d8-46e8-b502-e721d8478f13', 574170, 'Subject', 2, null, 13, false, create_audit(1), 0, false, '2022-04-05 11:47:04.749 +00:00', 1, 1, '2022-04-05 11:47:04.749 +00:00', '2022-04-05 11:47:04.749 +00:00', '19f9c741-a8b1-4be6-9aab-c0e5ae4e0cd8', 207786, 674170, null, null); +INSERT INTO entity_approval_status(id, uuid, entity_id, entity_type, approval_status_id, approval_status_comment, organisation_id, auto_approved, audit_id, version, is_voided, status_date_time, created_by_id, last_modified_by_id, created_date_time, last_modified_date_time, entity_type_uuid, address_id, individual_id, sync_concept_1_value, sync_concept_2_value) values (501, '1bf0338e-16d8-46e8-b502-e721d8478f13', 574170, 'Subject', 2, null, 13, false, create_audit(1), 0, false, '2022-04-05 11:47:04.749 +00:00', 1, 1, '2022-04-05 11:47:04.749 +00:00', '2022-04-05 11:47:04.749 +00:00', '19f9c741-a8b1-4be6-9aab-c0e5ae4e0cd8', 207786, 574170, null, null);