Skip to content

Commit d303738

Browse files
committed
fix functional tests
1 parent 49c665e commit d303738

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

test/functionalTest/cases/2560_custom_notification_json/custom_notification_http_json_errors.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ HTTP/1.1 400 Bad Request
9090
Date: REGEX(.*)
9191
Fiware-Correlator: REGEX([0-9a-f\-]{36})
9292
Content-Type: application/json
93-
Content-Length: 133
93+
Content-Length: 146
9494

9595
{
96-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
96+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
9797
"error": "BadRequest"
9898
}
9999

@@ -104,10 +104,10 @@ HTTP/1.1 400 Bad Request
104104
Date: REGEX(.*)
105105
Fiware-Correlator: REGEX([0-9a-f\-]{36})
106106
Content-Type: application/json
107-
Content-Length: 102
107+
Content-Length: 115
108108

109109
{
110-
"description": "json fields in httpCustom or mqttCustom must be object or array",
110+
"description": "json fields in httpCustom, mqttCustom or kafkaCustom must be object or array",
111111
"error": "BadRequest"
112112
}
113113

test/functionalTest/cases/2560_custom_notification_json/custom_notification_mqtt_json_errors.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ HTTP/1.1 400 Bad Request
9191
Date: REGEX(.*)
9292
Fiware-Correlator: REGEX([0-9a-f\-]{36})
9393
Content-Type: application/json
94-
Content-Length: 133
94+
Content-Length: 146
9595

9696
{
97-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
97+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
9898
"error": "BadRequest"
9999
}
100100

@@ -105,10 +105,10 @@ HTTP/1.1 400 Bad Request
105105
Date: REGEX(.*)
106106
Fiware-Correlator: REGEX([0-9a-f\-]{36})
107107
Content-Type: application/json
108-
Content-Length: 102
108+
Content-Length: 115
109109

110110
{
111-
"description": "json fields in httpCustom or mqttCustom must be object or array",
111+
"description": "json fields in httpCustom, mqttCustom or kafkaCustom must be object or array",
112112
"error": "BadRequest"
113113
}
114114

test/functionalTest/cases/4085_custom_notifications_ngsi_payload/custom_notification_http_ngsi_errors.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ HTTP/1.1 400 Bad Request
215215
Date: REGEX(.*)
216216
Fiware-Correlator: REGEX([0-9a-f\-]{36})
217217
Content-Type: application/json
218-
Content-Length: 133
218+
Content-Length: 146
219219

220220
{
221-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
221+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
222222
"error": "BadRequest"
223223
}
224224

@@ -229,10 +229,10 @@ HTTP/1.1 400 Bad Request
229229
Date: REGEX(.*)
230230
Fiware-Correlator: REGEX([0-9a-f\-]{36})
231231
Content-Type: application/json
232-
Content-Length: 133
232+
Content-Length: 146
233233

234234
{
235-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
235+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
236236
"error": "BadRequest"
237237
}
238238

test/functionalTest/cases/4085_custom_notifications_ngsi_payload/custom_notification_mqtt_ngsi_errors.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ HTTP/1.1 400 Bad Request
221221
Date: REGEX(.*)
222222
Fiware-Correlator: REGEX([0-9a-f\-]{36})
223223
Content-Type: application/json
224-
Content-Length: 133
224+
Content-Length: 146
225225

226226
{
227-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
227+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
228228
"error": "BadRequest"
229229
}
230230

@@ -235,10 +235,10 @@ HTTP/1.1 400 Bad Request
235235
Date: REGEX(.*)
236236
Fiware-Correlator: REGEX([0-9a-f\-]{36})
237237
Content-Type: application/json
238-
Content-Length: 133
238+
Content-Length: 146
239239

240240
{
241-
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom or mqttCustom",
241+
"description": "only one of payload, json or ngsi fields accepted at the same time in httpCustom, mqttCustom or kafkaCustom",
242242
"error": "BadRequest"
243243
}
244244

0 commit comments

Comments
 (0)