diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot index f4d0634201a69ab25b1311ea628cc47dcbc6af95..07582e72ab83dce96af8f5d0cacf9e21dc808c44 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot @@ -14,7 +14,8 @@ ${reason_404}= Not Found [Documentation] Check that an error message is obtained in the response when one tries to delete a @context with unknonwn id [Tags] ctx-serve 5_13_5 since_v1.5.1 - ${random_url}= Generate Random String 16 [NUMBERS] + ${random_id}= Generate Random String 16 [NUMBERS] + ${random_url}= Set Variable urn:ngsi-ld:Context:${random_id} ${response}= Delete a @context ${random_url} Check Response Status Code 404 ${response.status_code} diff --git a/resources/NotificationUtils.resource b/resources/NotificationUtils.resource index d8da0f9cfc784103ea2b37fff929d6e662d723ed..466f3fab594b3836d81627d81b4677d3702e6919 100644 --- a/resources/NotificationUtils.resource +++ b/resources/NotificationUtils.resource @@ -100,7 +100,7 @@ Check Notification Data Entities ${notification_data_entities}= Create List ${index}= Set Variable 0 FOR ${registration_information} IN @{notification_data_information} - Append To List ${notification_data_entities} ${registration_information}[entities][0][type][0] + Append To List ${notification_data_entities} ${registration_information}[entities][0][type] END Lists Should Be Equal