Skip to content

Commit

Permalink
Add tests to useviews models
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel authored and Maria Lorena Rodriguez Viruel committed Oct 19, 2023
1 parent ff34b9b commit abf1b27
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions models/brac/useviews/useviews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ models:
- name: chw
tests:
- not_null
- name: useview_pregnancy_visit
columns:
- name: xmlforms_uuid
tests:
- not_null
- unique
- name: useview_postnatal_care
columns:
- name: uuid
Expand Down Expand Up @@ -92,3 +98,26 @@ models:
- name: uuid
tests:
- not_null
- name: useview_assessment_follow_up
columns:
- name: uuid
tests:
- not_null
- name: form
tests:
- not_null
- name: patient_age_in_days
tests:
- not_null
- name: patient_age_in_months
tests:
- not_null
- name: coughing_duration
tests:
- not_null
- name: diarrhea_duration
tests:
- not_null
- name: fever_duration
tests:
- not_null

0 comments on commit abf1b27

Please sign in to comment.