TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/UpdateEntityAttributes/D004_01_inc.robot
+2
−6
Loading
D004_01_inc sets up an inclusive registration with redirectionOps (the
entity lives only on the Context Source) and updates an attribute. The
update is forwarded to the CSR, which returns 204; nothing is held
locally to fail. No leg errors → 204 No Content, not 207.
Three test-side problems:
- The PATCH stub was at `/entities/{id}/attrs` (no trailing slash) while
the broker forwards the spec-correct `/entities/{id}/attrs/`
(TS 104-176 § 7.4.3) — the very URL the test's own `Get Stub Count`
already checks. Stub now matches.
- Expected 207; corrected to 204 (a fully successful distributed write
carries no per-registration error, so no BatchOperationResult — see
issue #105 / § 6.3.5 vs the operation behaviour).
- Dropped the response-body entity-URI assertion: a 204 has no body.
Local branch only, no MR.