diff --git a/.github/workflows/test-base.yml b/.github/workflows/test-base.yml index 9246ad80e9..e295ac88c9 100644 --- a/.github/workflows/test-base.yml +++ b/.github/workflows/test-base.yml @@ -25,8 +25,8 @@ jobs: with: load: true set: | - *.cache-from=type=local,src=/tmp/.buildx-cache - *.cache-to=type=local,dest=/tmp/.buildx-cache-new + *.cache-from=type=local,src=/tmp/.buildx-cache + *.cache-to=type=local,dest=/tmp/.buildx-cache-new files: docker-compose.yaml,docker-compose.local.yaml - name: Start services @@ -35,6 +35,9 @@ jobs: - name: Check migrations run: make checkmigration + - name: Validate integrity of fixtures + run: make load-dummy-data + - name: Run tests run: make test-coverage diff --git a/data/dummy/facility.json b/data/dummy/facility.json index cf4a399781..0960cccb12 100644 --- a/data/dummy/facility.json +++ b/data/dummy/facility.json @@ -3206,7 +3206,7 @@ "modified_date": "2023-12-07T08:47:53.751Z", "deleted": false, "patient": 18, - "patient_no": "IP008", + "patient_no": "IP02578", "facility": 1, "deprecated_diagnosis": "", "deprecated_icd11_provisional_diagnoses": "[]", @@ -3277,7 +3277,7 @@ "modified_date": "2023-12-15T08:47:53.751Z", "deleted": false, "patient": 18, - "patient_no": "IP009", + "patient_no": "IP1009", "facility": 1, "deprecated_diagnosis": "", "deprecated_icd11_provisional_diagnoses": "[]", diff --git a/data/dummy/users.json b/data/dummy/users.json index e952cb5a44..5f20d2f3b6 100644 --- a/data/dummy/users.json +++ b/data/dummy/users.json @@ -22,6 +22,7 @@ "phone_number": "+919696969696", "alt_phone_number": null, "gender": 3, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": false, @@ -57,6 +58,7 @@ "phone_number": "+911234567891", "alt_phone_number": "+911234567891", "gender": 3, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -92,6 +94,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -127,6 +130,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -162,6 +166,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -197,6 +202,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -232,6 +238,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -267,6 +274,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -302,6 +310,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -337,6 +346,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -372,6 +382,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -407,6 +418,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -442,6 +454,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -477,6 +490,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -512,6 +526,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -547,6 +562,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -582,6 +598,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -617,6 +634,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -652,6 +670,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -687,6 +706,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": null, "verified": true, @@ -722,6 +742,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": 1, "verified": true, @@ -757,6 +778,7 @@ "phone_number": "+919876543219", "alt_phone_number": "+919876543219", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": 1, "verified": true, @@ -792,6 +814,7 @@ "phone_number": "+918878825662", "alt_phone_number": "+918878825662", "gender": 2, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": 1, "verified": true, @@ -827,6 +850,7 @@ "phone_number": "+918744587566", "alt_phone_number": "+918744587566", "gender": 1, + "video_connect_link": null, "date_of_birth": "2005-01-01", "home_facility": 1, "verified": true,