From 3363d785f423b9e885383902e2e04be8d872b961 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Tue, 4 Jun 2024 13:41:42 +0200 Subject: [PATCH] update test --- test/unit/ngsiv2/HTTP_update_device_test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/ngsiv2/HTTP_update_device_test.js b/test/unit/ngsiv2/HTTP_update_device_test.js index 7579b9df5..3e6329f09 100644 --- a/test/unit/ngsiv2/HTTP_update_device_test.js +++ b/test/unit/ngsiv2/HTTP_update_device_test.js @@ -60,7 +60,7 @@ describe('HTTP binding - Update provisioned devices with a new apikey', function it('should have provisioned with APIKEY1', function (done) { const options = { - url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_2', + url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_4', headers: { 'fiware-service': 'smartgondor', 'fiware-servicepath': '/gardens' @@ -82,7 +82,7 @@ describe('HTTP binding - Update provisioned devices with a new apikey', function describe('When a request to update a provision device arrives', function () { const optionsUpdate = { - url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_2', + url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_4', method: 'PUT', headers: { 'fiware-service': 'smartgondor', @@ -102,7 +102,7 @@ describe('HTTP binding - Update provisioned devices with a new apikey', function it('should have updated device apikey', function (done) { request(optionsUpdate, function (error, response, body) { const options = { - url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_2', + url: 'http://localhost:' + config.iota.server.port + '/iot/devices/MQTT_4', headers: { 'fiware-service': 'smartgondor', 'fiware-servicepath': '/gardens'