From 7a51e46fbc051d095d6b16fec4ce08ae657210be Mon Sep 17 00:00:00 2001 From: ScorpioBroker <55130839+ScorpioBroker@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:41:04 +0200 Subject: [PATCH] title checking required the same change as well --- .../CommonResponses/VerifyLdContextNotAvailable/043_01.robot | 3 ++- .../Provision/BatchEntities/CreateBatchOfEntities/003_06.robot | 2 +- .../Provision/BatchEntities/CreateBatchOfEntities/003_08.robot | 2 +- .../Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot index 11ca9589..440a0617 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot @@ -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 diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot index 6fe6fbda..b8d7724e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot @@ -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']} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot index f4d2a427..09600192 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot @@ -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']} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot index ea997a19..62116acb 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot @@ -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']} -- GitLab