[CITE-Forum] Question about ets-sta10 tests
apastor at mozilla.com
Mon Jan 16 10:22:30 EST 2017
Not sure if this is the right place to ask. Let me know if that’s the case.
Our tests are failing in this line:
It seems that is expecting 1 Location related to thingId1, but is returning 2.
As far as I understand, it creates a Thing (thingId1) with a Location (locationId1), and then it patches that Thing with a new Location (locationId2) 
If I’m getting it correctly, according to the spec, the patch should ADD the relationship to Things(thingId1)/Locations, so getting 2 locations is correct?
> The entity SHALL NOT contain related entities as inline content. It MAY contain binding information for navigation properties. For single-valued navigation properties this replaces the relationship. For collection-valued navigation properties this adds to the relationship.
Could somebody please help me?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CITE-Forum