Commit 36c4793b authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

chore: remove duplicate Delete Entity by Id Returning Response keyword

- was the same as Delete Entity by Id keyword
parent d4686420
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ ${content_type}= application/json
    Check Response Status Code    200    ${response.status_code}
    Check Response Headers Containing Content-Type set to    ${content_type}    ${response.headers}
    Check Response Headers Link Not Empty    ${response.headers}
    [Teardown]    Delete Entity by Id Returning Response    ${id}
    [Teardown]    Delete Entity by Id    ${id}

045_01_02 Endpoint /subscriptions/{subscriptionId}
    [Documentation]    Verify that on a GET HTTP request if nothing is specified on the Accept header, "application/json" is assumed (/subscriptions/{subscriptionId})
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ ${subscription_id_prefix}= urn:ngsi-ld:Subscription:
    ...    id=${entity_id}
    ...    accept=${accept}
    Check Response Status Code    ${status_code}    ${response.status_code}
    [Teardown]    Delete Entity by Id Returning Response    ${entity_id}
    [Teardown]    Delete Entity by Id    ${entity_id}

049_01_02 Endpoint get /subscriptions/{subscriptionId}
    [Documentation]    Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId})
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ ${content_type}= application/xml
    ...    fragment_filename=${vehicle_fragment}
    ...    content_type=${content_type}
    Check Response Status Code    415    ${response.status_code}
    [Teardown]    Delete Entity by Id Returning Response    ${entity_id}
    [Teardown]    Delete Entity by Id    ${entity_id}

048_01_02 Endpoint patch /subscriptions/{subscriptionId}
    [Documentation]    Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (patch /subscriptions/{subscriptionId})
+1 −1
Original line number Diff line number Diff line
@@ -38,4 +38,4 @@ Setup Initial Entities
    Set Suite Variable    ${entity_id}

Delete Initial Entities
    Delete Entity by Id Returning Response    ${entity_id}
    Delete Entity by Id    ${entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -36,4 +36,4 @@ Setup Initial Entities
    Set Suite Variable    ${entity_id}

Delete Initial Entities
    Delete Entity by Id Returning Response    ${entity_id}
    Delete Entity by Id    ${entity_id}
Loading