From 9789d5bbf6427a6e603cd6abcecb697ddd55233e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Thu, 31 Aug 2023 09:36:43 +0200 Subject: [PATCH] FIX existing tests --- .../mqtt_custom_notifications_auth.test | 12 ++++++++---- .../mqtt_notifications_auth.test | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_custom_notifications_auth.test b/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_custom_notifications_auth.test index 0f6f35c602..95d03e9ebd 100644 --- a/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_custom_notifications_auth.test +++ b/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_custom_notifications_auth.test @@ -317,7 +317,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 351 +Content-Length: 366 { "id": "REGEX([0-9a-f\-]{24})", @@ -328,6 +328,7 @@ Content-Length: 351 "mqttCustom": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user1" @@ -370,7 +371,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 352 +Content-Length: 367 { "id": "REGEX([0-9a-f\-]{24})", @@ -381,6 +382,7 @@ Content-Length: 352 "mqttCustom": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user10" @@ -423,7 +425,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 319 +Content-Length: 334 { "id": "REGEX([0-9a-f\-]{24})", @@ -433,6 +435,7 @@ Content-Length: 319 "covered": false, "mqttCustom": { "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883" }, @@ -474,7 +477,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 351 +Content-Length: 366 { "id": "REGEX([0-9a-f\-]{24})", @@ -485,6 +488,7 @@ Content-Length: 351 "mqttCustom": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user1" diff --git a/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_notifications_auth.test b/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_notifications_auth.test index 7fff7ecd70..2b149a5221 100644 --- a/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_notifications_auth.test +++ b/test/functionalTest/cases/3914_mqtt_notifications_auth/mqtt_notifications_auth.test @@ -317,7 +317,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 345 +Content-Length: 360 { "id": "REGEX([0-9a-f\-]{24})", @@ -328,6 +328,7 @@ Content-Length: 345 "mqtt": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user1" @@ -370,7 +371,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 346 +Content-Length: 361 { "id": "REGEX([0-9a-f\-]{24})", @@ -381,6 +382,7 @@ Content-Length: 346 "mqtt": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user10" @@ -423,7 +425,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 313 +Content-Length: 328 { "id": "REGEX([0-9a-f\-]{24})", @@ -433,6 +435,7 @@ Content-Length: 313 "covered": false, "mqtt": { "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883" }, @@ -474,7 +477,7 @@ HTTP/1.1 200 OK Date: REGEX(.*) Fiware-Correlator: REGEX([0-9a-f\-]{36}) Content-Type: application/json -Content-Length: 345 +Content-Length: 360 { "id": "REGEX([0-9a-f\-]{24})", @@ -485,6 +488,7 @@ Content-Length: 345 "mqtt": { "passwd": "*****", "qos": 0, + "retain": false, "topic": "/orion", "url": "mqtt://localhost:1883", "user": "user1"