+7
−1
Loading
The final check was `Should Contain ${response.json()} speed`, but
response.json() is a LIST of entity objects, so Should Contain does list
MEMBERSHIP — it asks whether the string 'speed' is an element of the list,
which it never is (the elements are entity dicts). The test failed with
"... does not contain 'speed'" even though both returned entities carry speed.
The broker's inclusive merge is correct: the query returns both entities, each
with the local brandName preserved AND the merged speed (value 56, with source
and datasetId) and the updated isParked2.
Mirror the sibling D016_01_red: assert the response is non-empty, then check
each entity dict contains the speed key.