From 2a8cdf7bd7112c220fc4da2d087e014e5589c7af Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Wed, 20 Sep 2023 18:55:44 +0200 Subject: [PATCH] Remove CB insert of initial device on provisioning command --- test/unit/ngsi-ld/ngsiService/subscriptions-test.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/unit/ngsi-ld/ngsiService/subscriptions-test.js b/test/unit/ngsi-ld/ngsiService/subscriptions-test.js index 8fd9b049c..ea4a45156 100644 --- a/test/unit/ngsi-ld/ngsiService/subscriptions-test.js +++ b/test/unit/ngsi-ld/ngsiService/subscriptions-test.js @@ -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/',