Skip to content

Commit

Permalink
Remove CB insert of initial device on provisioning command
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Sep 20, 2023
1 parent 5ffcec5 commit 2a8cdf7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/unit/ngsi-ld/ngsiService/subscriptions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ describe('NGSI-LD - Subscription tests', function () {

iotAgentLib.activate(iotAgentConfig, function () {
contextBrokerMock = nock('http://192.168.1.1:1026')
.matchHeader('fiware-service', 'smartgondor')
.post(
'/ngsi-ld/v1/entityOperations/upsert/',
utils.readExampleFile(
'./test/unit/ngsi-ld/examples/contextRequests/createMinimumProvisionedDevice.json'
)
)
.reply(204);

contextBrokerMock
.matchHeader('fiware-service', 'smartgondor')
.post(
'/ngsi-ld/v1/subscriptions/',
Expand Down

0 comments on commit 2a8cdf7

Please sign in to comment.