diff --git a/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot b/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot index c49754ea..f482486f 100644 --- a/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot +++ b/tests/robot/EHR_STATUS_TESTS/C.3_SET_EHR_MODIFIABLE/C.3__a)_Existing_EHR.robot @@ -55,4 +55,14 @@ Set EHR modifiable of an existing EHR update EHR: set ehr-status modifiable ${TRUE} check response of 'update EHR' (JSON) + Set Test Variable ${expected_ehr_status_json} ${response.json()} + + internal get versioned ehr_status of EHR by time without query + Should Be Equal ${response.status_code} ${200} + Set Test Variable ${actual_ehr_status_json} ${response.json()['data']} + + ${diff} compare json-strings + ... ${actual_ehr_status_json} ${expected_ehr_status_json} + ... ignore_order=${FALSE} ignore_string_case=${TRUE} + Should Be Empty ${diff} msg=DIFF DETECTED! [Teardown] (admin) delete ehr