Unverified Commit 3fd66e86 authored by Gaël Poujol's avatar Gaël Poujol Committed by GitHub
Browse files

fix/remove attribute with no temporal property in temporal request (#7)

parent 2a707f8f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -10,10 +10,10 @@ ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle:

*** Test Cases ***    FILENAME                                                                 EXPECTATION_FILENAME                                                              CONTENT_TYPE
007_01_01_Create a temporal representation of an entity
                      vehicle-temporal-representation-sample.jsonld                     vehicle-temporal-representation-create-expectation.jsonld                         application/ld+json
                      vehicle-create-temporal-representation-sample.jsonld                     vehicle-temporal-representation-create-expectation.jsonld                         application/ld+json

007_01_02_Create a temporal entity with no context
                      vehicle-temporal-representation-without-context-sample.jsonld     vehicle-temporal-representation-create-with-no-context-expectation.jsonld         application/json
                      vehicle-create-temporal-representation-without-context-sample.jsonld     vehicle-temporal-representation-create-with-no-context-expectation.jsonld         application/json

*** Keywords ***
Create Temporal Entity
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource

*** Variable ***
${vehicle_id_prefix}=    urn:ngsi-ld:Vehicle:
${filename}=      vehicle-temporal-representation-sample.jsonld
${filename}=      vehicle-create-temporal-representation-sample.jsonld
${update_filename}=    vehicle-temporal-representation-update-sample.jsonld
${expectation_filename}=    vehicle-temporal-representation-update-expectation.jsonld

+0 −1
Original line number Diff line number Diff line
{
   "id":"urn:ngsi-ld:Vehicle:randomUUID",
   "type":"Vehicle",
   "brandName":[],
   "speed":[
      {
         "type":"Property",
+0 −1
Original line number Diff line number Diff line
{
   "id":"urn:ngsi-ld:Vehicle:randomUUID",
   "type":"Vehicle",
   "brandName":[],
   "speed":[
      {
         "type":"Property",
+0 −1
Original line number Diff line number Diff line
    {
      "id":"urn:ngsi-ld:Vehicle:randomUUID",
      "type":"Vehicle",
      "brandName":[],
      "speed":[
         {
            "type":"Property",
Loading