Commit 0b1fabc0 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix(012_02): remove duplicate TC and fix invalid fragment

parent 43cea6a7
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -18,16 +18,13 @@ ${status_code}= 400
012_02_02_Make a partial attribute update if the Entity Id is not a valid URI
                      thisisaninvaliduri    speed           vehicle-speed-equal-datasetid-fragment.jsonld

012_02_03_Make a partial attribute update if the Attribute Name is not present
                      ${valid_entity_id}    speed           vehicle-speed-wrong-name-fragment.jsonld
012_02_03_Make a partial attribute update if the Attribute Id is not present
                      ${valid_entity_id}    ${EMPTY}        vehicle-speed-equal-datasetid-fragment.jsonld

012_02_04_Make a partial attribute update if the Attribute Id is invalid
                      ${valid_entity_id}    invalid         vehicle-speed-equal-datasetid-fragment.jsonld

012_02_05_Make a partial attribute update if the Attribute type does not match
012_02_04_Make a partial attribute update if the Attribute type does not match
                      ${valid_entity_id}    speed           vehicle-speed-equal-datasetid-different-type-fragment.jsonld

012_02_06_Make a partial attribute update if the entity fragment is empty
012_02_05_Make a partial attribute update if the entity fragment is empty
                      ${valid_entity_id}    speed           empty-fragment.json

*** Keywords ***
+2 −9
Original line number Diff line number Diff line
{
    "speed": {
        "type": "different_type",
        "value": 56,
        "source": {
            "type": "Property",
            "value": "Speedometer"
        },
        "datasetId": "urn:ngsi-ld:Property:speedometerA4567-speed" 
    },
    "type": "Relationship",
    "object": "urn:ngsi-ld:Entity:01",
    "@context": [
        "https://raw.githubusercontent.com/easy-global-market/ngsild-api-data-models/feature/add-json-ld-context-for-ngsi-ld-test-suite/ngsi-ld-test-suite/ngsi-ld-test-suite-context.jsonld"
    ]