Commit 7a51e46f authored by ScorpioBroker's avatar ScorpioBroker
Browse files

title checking required the same change as well

parent 80bd7d94
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -81,7 +81,8 @@ ${registration_filename}= csourceRegistrations/context-source-registration
    Check Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()['errors'][1]['error']}
    ...    ${ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()['errors'][0]['error']}
	Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()['errors'][1]['error']}
    [Teardown]    Batch Delete Entities    entities_ids_to_be_deleted=@{entities_ids_to_be_created}

043_01_05 Create context source registration
+1 −1
Original line number Diff line number Diff line
@@ -24,4 +24,4 @@ ${building_id_prefix}= urn:ngsi-ld:Building:
    Check Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()['errors'][0]['error']}
    ...    ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()['errors'][0]['error']}
+1 −1
Original line number Diff line number Diff line
@@ -24,4 +24,4 @@ ${building_id_prefix}= urn:ngsi-ld:Building:
    Check Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()['errors'][0]['error']}
    ...    ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()}
    Check Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()['errors'][0]['error']}
+1 −1
Original line number Diff line number Diff line
@@ -25,4 +25,4 @@ Batch Upsert Entity With Invalid Request Scenarios
    Check RL Response Body Containing ProblemDetails Element Containing Type Element set to
    ...    ${response.json()['errors'][0]['error']}
    ...    ${problem_type}
    Check RL Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()}
    Check RL Response Body Containing ProblemDetails Element Containing Title Element    ${response.json()['errors'][0]['error']}