diff --git a/test/functionalTest/cases/0981_POST_v2_attributes/append_and_append_only_combinations.test b/test/functionalTest/cases/0981_POST_v2_attributes/append_and_append_only_combinations.test index de25c1bcc8..7410ba41cd 100644 --- a/test/functionalTest/cases/0981_POST_v2_attributes/append_and_append_only_combinations.test +++ b/test/functionalTest/cases/0981_POST_v2_attributes/append_and_append_only_combinations.test @@ -267,7 +267,7 @@ Content-Length: 116 { "description": "one or more of the attributes in the request already exist: E1 - [ attr4 ]", - "error": "Unprocessable" + "error": "PartialUpdate" } diff --git a/test/functionalTest/cases/1682_ngsiv2_entity_id/ngsiv2_entity_id_revisited.test b/test/functionalTest/cases/1682_ngsiv2_entity_id/ngsiv2_entity_id_revisited.test index 3f08385cc0..9b23e25341 100644 --- a/test/functionalTest/cases/1682_ngsiv2_entity_id/ngsiv2_entity_id_revisited.test +++ b/test/functionalTest/cases/1682_ngsiv2_entity_id/ngsiv2_entity_id_revisited.test @@ -74,8 +74,8 @@ orionCurl --url /v2/entities/E1/attrs --payload "$payload" echo echo -echo "04. POST /v2/entities/E1?options=append A and B (and check 400 Bad Request)" -echo "===========================================================================" +echo "04. POST /v2/entities/E1?options=append A and B (and check 422 Unprocessable Content)" +echo "=====================================================================================" payload='{ "A": { "value": 30 @@ -142,8 +142,8 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}) -04. POST /v2/entities/E1?options=append A and B (and check 400 Bad Request) -=========================================================================== +04. POST /v2/entities/E1?options=append A and B (and check 422 Unprocessable Content) +===================================================================================== HTTP/1.1 422 Unprocessable Content Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) @@ -152,7 +152,7 @@ Content-Length: 112 { "description": "one or more of the attributes in the request already exist: E1 - [ A ]", - "error": "Unprocessable" + "error": "PartialUpdate" } diff --git a/test/functionalTest/cases/1784_patch_non_existing_attribute/patch_non_existing_attribute.test b/test/functionalTest/cases/1784_patch_non_existing_attribute/patch_non_existing_attribute.test index 2f11f7300b..7c84e5ef49 100644 --- a/test/functionalTest/cases/1784_patch_non_existing_attribute/patch_non_existing_attribute.test +++ b/test/functionalTest/cases/1784_patch_non_existing_attribute/patch_non_existing_attribute.test @@ -93,7 +93,7 @@ Content-Length: 112 { "description": "one or more of the attributes in the request do not exist: E1 - [ A2 ]", - "error": "Unprocessable" + "error": "PartialUpdate" } diff --git a/test/functionalTest/cases/2933_PATCH_offending_attributes/PATCH_offending_attributes.test b/test/functionalTest/cases/2933_PATCH_offending_attributes/PATCH_offending_attributes.test index f1a44d10f5..0ccf23b652 100644 --- a/test/functionalTest/cases/2933_PATCH_offending_attributes/PATCH_offending_attributes.test +++ b/test/functionalTest/cases/2933_PATCH_offending_attributes/PATCH_offending_attributes.test @@ -77,7 +77,7 @@ echo '03. PATCH /v2/entities/Room1/attrs, to update existing attribute (temperat echo '====================================================================================================================================================================' payload='{ "temperature": { - "value": 24, + "value": 25, "type": "Float" }, "temper": { @@ -121,7 +121,7 @@ Content-Length: 120 { "description": "one or more of the attributes in the request do not exist: Room1 - [ pressur ]", - "error": "Unprocessable" + "error": "PartialUpdate" } @@ -135,7 +135,7 @@ Content-Length: 128 { "description": "one or more of the attributes in the request do not exist: Room1 - [ temper, pressur ]", - "error": "Unprocessable" + "error": "PartialUpdate" } @@ -158,7 +158,7 @@ Content-Length: 141 "temperature": { "metadata": {}, "type": "Float", - "value": 24 + "value": 25 }, "type": "Thing" }