Skip to content

Commit

Permalink
Merge pull request #34 from ehrbase/feature/enable-stored-query-get-404
Browse files Browse the repository at this point in the history
Enable test for non existing stored query
  • Loading branch information
alexlehn authored Oct 2, 2024
2 parents a8ab87b + c53a5c2 commit c4e1a7f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/robot/STORED_QUERY_TESTS/stored_query_tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Documentation STORED QUERY TEST SUITE
... - GET /rest/openehr/v1/query/{qualified_query_name}/{version}
... - POST /rest/openehr/v1/query/{qualified_query_name}/{version}
... JIRA ticket: https://vitagroup-ag.atlassian.net/browse/CDR-1068
... \n*Bug ticket for skipped tests with Negative tag*: https://vitagroup-ag.atlassian.net/browse/CDR-1069
Resource ../_resources/keywords/composition_keywords.robot
Resource ../_resources/keywords/ehr_keywords.robot
Expand Down Expand Up @@ -114,7 +113,7 @@ Definition API - GET Stored Query Using Qualified Query Name And Version
Log ${resp['saved']}

Definition API - GET Stored Query Using Inexistent Qualified Query Name And Version
[Tags] not-ready Negative CDR-1069
[Tags] Negative
[Documentation] Test to check below endpoint:
... - GET /rest/openehr/v1/definition/query/{qualified_query_name} with inexistent {qualified_query_name} and {version} values
... \n Check that 404 is returned on GET /definition/query/{qualified_query_name}/{version} for inexistent query.
Expand Down Expand Up @@ -201,7 +200,7 @@ Query API - GET Stored Query Using Qualified Query Name With Ehr Id Param
END

Query API - GET Stored Query Using Inexistent Qualified Query Name
[Tags] not-ready Negative CDR-1069
[Tags] Negative
[Documentation] Test to check below endpoint:
... - GET /rest/openehr/v1/query/{qualified_query_name} with inexistent {qualified_query_name} value
... \n Check that 404 is returned on GET /query/{qualified_query_name} for inexistent query.
Expand Down Expand Up @@ -319,10 +318,6 @@ Query API - DELETE Stored Query Using Qualified Query Name And Version
... \n Check that 404 is returned
${resp_query} DELETE /query/{qualified_query_name}/{version} ADMIN
... qualif_name=${second_resp_qualified_query_name_version}
###get deleted stored query - bug CDR-1069
# Run Keyword And Expect Error 404 != 200
# ... GET /query/{qualified_query_name}/{version}
# ... qualif_name=${second_resp_qualified_query_name_version}


*** Keywords ***
Expand Down

0 comments on commit c4e1a7f

Please sign in to comment.