Commit d4686420 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix(049_02): remove useless creation of subscription to test for 406

- moreover, it was not deleted, which broke some subscriptions tests later
parent e78e8d72
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ Resource ${EXECDIR}/resources/JsonUtils.resource
${accept}=                      application/geo+json
${status_code}=                 406
${subscription_id_prefix}=      urn:ngsi-ld:Subscription:
${subscription_payload_file_path}=      subscriptions/subscription-sample.jsonld


*** Test Cases ***
@@ -20,10 +19,6 @@ ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld
    [Documentation]    Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /subscriptions/{subscriptionId})
    [Tags]    sub-retrieve    6_3_4
    ${id}=    Generate Random Entity Id    ${subscription_id_prefix}
    Create Subscription
    ...    ${id}
    ...    ${subscription_payload_file_path}
    ...    ${CONTENT_TYPE_LD_JSON}
    ${response}=    Retrieve Subscription
    ...    id=${id}
    ...    accept=${accept}