Skip to content

Commit

Permalink
Revert "Update tag tests"
Browse files Browse the repository at this point in the history
This reverts commit 80712c1.
  • Loading branch information
vmueller-vg committed Aug 13, 2024
1 parent 80712c1 commit 1becf5b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/robot/TAGS_TESTS/basic_composition_tags_tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ${VALID EHR DATA SETS} ${PROJECT_ROOT}/tests/robot/_resources/test_data_se
&{composition_tag_body} Create Dictionary
... key=${tag_key}
... value=${tag_value}
... target_path=name/value/temp
... target_path=/name/value/temp
... id=${COMPOSITION_TAG_ID_2}
Update Composition Tag Call custom_tag_body=${composition_tag_body}
Should Be Equal ${firstRespArrEl['id']} ${COMPOSITION_TAG_ID_2}
Expand Down Expand Up @@ -86,7 +86,7 @@ ${VALID EHR DATA SETS} ${PROJECT_ROOT}/tests/robot/_resources/test_data_se
Create Session For Composition Tag Calls
&{composition_tag_body} Create Dictionary
... value=${tag_value}
... target_path=name/value/temp
... target_path=/name/value/temp
${err_msg} Run Keyword And Expect Error *
... Create Composition Tag Call ${composition_tag_body}
Should Contain ${err_msg} 422 != 200
Expand All @@ -100,7 +100,7 @@ ${VALID EHR DATA SETS} ${PROJECT_ROOT}/tests/robot/_resources/test_data_se
&{composition_tag_body} Create Dictionary
... key=${{str(uuid.uuid4())}}
... value=${tag_value}
... target_path=/name/value
... target_path=name/value
${err_msg} Run Keyword And Expect Error *
... Create Composition Tag Call ${composition_tag_body}
Should Contain ${err_msg} 422 != 200
Expand Down Expand Up @@ -150,7 +150,7 @@ Set Tag Body In Array
&{composition_tag_body} Create Dictionary
... key=${tag_key}
... value=${tag_value}
... target_path=name/value
... target_path=/name/value
@{tags_list} Create List ${composition_tag_body}
END
Set Test Variable ${tags_list} ${tags_list}
Expand All @@ -162,7 +162,7 @@ Default Checks For Tag Response
Should Be Equal ${compo_uid_value_temp} ${firstRespArrEl['target']}
Should Be Equal COMPOSITION ${firstRespArrEl['target_type']}
Should Be Equal ${tag_value} ${firstRespArrEl['value']}
Should Be Equal name/value ${firstRespArrEl['target_path']}
Should Be Equal /name/value ${firstRespArrEl['target_path']}

Create Composition Tag Call
[Arguments] ${custom_tag_body}=${NONE}
Expand Down Expand Up @@ -202,4 +202,4 @@ Delete EHR_STATUS Tag Call
${resp} DELETE On Session SUT_TAG /ehr/${ehr_id}/ehr_status/${ehrstatus_uid_value}/item_tag
... json=${ehr_status_ids_list} expected_status=anything
Set Test Variable ${resp} ${resp}
Status Should Be 204 ${resp}
Status Should Be 204 ${resp}

0 comments on commit 1becf5b

Please sign in to comment.