Loading
fix(046_22_08, 034_05_01): the NGSI-LD Null in a deletion notification and in an update
Two Test Cases that get the NGSI-LD Null wrong.
046_22_08:namehas three instances inbuilding-multi-instances-attributes(the default one and twodatasetIds), and all three are deleted. TS 104-175 clause 10.5.7: a deleted Attribute that needs adatasetIdis notified as a JSON object whosevalueisurn:ngsi-ld:null- one per instance. Sonameis an Array of three such objects; the TC read it as one object and failed inside Robot (list indices must be integers). It now checks the three instances.034_05_01:expiresAtis removed with the NGSI-LD Null"urn:ngsi-ld:null". TS 104-175 clause 8.4.2: a Fragment member whose value is an NGSI-LD Null deletes the target member. The fixture sent a JSONnull, which JSON-LD expansion drops before the update, so the update did nothing.
2 Test Cases. Both fail on develop and pass with this MR.