Because ngsiClient was calling an NGSI-v1 function, and after the switch to NGSI-v2 and got, it still doesn't work 😄
This is a test expectation using an HTTP request to check some things which assume the request was made by the obsolete
request library - I guess it is the same situation as JSON body length thing.
The following test has been disabled:
test/unit/ngsiv2/registration-test.js
The reasoning is as follows:
Progress the request-shim refactoring the following workaround has been implemented: see https://github.com/telefonicaid/lightweightm2m-iotagent/pull/255#discussion_r773733283
xit()
with a code commentFIXME
referring the issue number created