Commit 70874a21 authored by kzangeli's avatar kzangeli
Browse files

003_06/003_08: develop's 207 back - a batch entity's own @context mismatch is...

003_06/003_08: develop's 207 back - a batch entity's own @context mismatch is a per-entity error (ETSI API call 2026-11-10); reverts 65ab7516
parent 59688477
Loading
Loading
Loading
Loading
+3 −3
Changes for TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -17,9 +17,9 @@ Resource ${EXECDIR}/resources/JsonUtils.resource

    ${response}=    Batch Create Entities    @{entities_to_be_created}    content_type=${CONTENT_TYPE_JSON}

    Check Response Status Code    400    ${response.status_code}
    Check Response Status Code    207    ${response.status_code}
    Check Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()}
    ...    ${response.json()['errors'][0]['error']}
    ...    ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check Response Body Containing ProblemDetails Element Containing Title Element
    ...    ${response.json()}
    ...    ${response.json()['errors'][0]['error']}
+3 −3
Changes for TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -17,9 +17,9 @@ Resource ${EXECDIR}/resources/JsonUtils.resource

    ${response}=    Batch Create Entities    @{entities_to_be_created}    content_type=${CONTENT_TYPE_LD_JSON}

    Check Response Status Code    400    ${response.status_code}
    Check Response Status Code    207    ${response.status_code}
    Check Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()}
    ...    ${response.json()['errors'][0]['error']}
    ...    ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check Response Body Containing ProblemDetails Element Containing Title Element
    ...    ${response.json()}
    ...    ${response.json()['errors'][0]['error']}