Commit 43e16bd0 authored by Ken Zangelin's avatar Ken Zangelin
Browse files

fix(csub): the Delete keyword returns the expected 4xx; 041_03 asks for application/ld+json

parent 3f924c1d
Loading
Loading
Loading
Loading
+1 −0
Changes for TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ Query Context Source Registration Subscriptions With Limit And Offset Parameters
    ...    context=${ngsild_test_suite_context}
    ...    limit=${limit}
    ...    offset=${offset}
    ...    accept=${CONTENT_TYPE_LD_JSON}
    Check Response Status Code    200    ${response.status_code}
    Check Response Body Containing Number Of Entities
    ...    Subscription
+1 −0
Changes for resources/ApiUtils/ContextSourceRegistrationSubscription.resource: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ Delete Context Source Registration Subscription

    ${response}=    DELETE
    ...    url=${url}${NGSI_LD_API_PATH}/${CONTEXT_SOURCE_REGISTRATION_SUBSCRIPTION_ENDPOINT_PATH}/${subscription_id}
    ...    expected_status=any
    Output    ${response}    Delete Context Source Registration Subscription
    RETURN    ${response}