Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jun 4, 2024
1 parent bd6d043 commit 3363d78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/ngsiv2/HTTP_update_device_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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',
Expand All @@ -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'
Expand Down

0 comments on commit 3363d78

Please sign in to comment.