Commit 321c8859 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix: misc typos and bad references

parent d10433af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ Query several entities based on the entities types
    Check Response Status Code  201    ${response['status']}

    ${entity_types_to_be_retrieved}=  Catenate    SEPARATOR=,   ${vehicle_entity_type}    ${parking_entity_type}
    ${response}=    Query Entities    entity_types=${entity_types_to_be_retrieved}
    ${response}=    Query Entities    entity_types=${entity_types_to_be_retrieved}      accept=${CONTENT_TYPE_LD_JSON}
    Check Response Status Code  200    ${response['status']}
    @{entities_ids_to_be_compared}=  Create List    ${vehicle_entity_id}    ${parking_entity_id}
    Check Response Body Containing List Containing Entity Elements With Different Types    ${expectation_filename}    ${entities_ids_to_be_compared}    ${response['body']}
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource
${building_id_prefix}=  urn:ngsi-ld:Building:
${filename}=  building-simple-attributes-sample.jsonld
${filename2}=  building-minimal-sample.jsonld
${expectation_filename}=  building-attributes-query-expectation.jsonld
${expectation_filename}=  building-attributes-query-expectation.json
${entity_type}=  https://ngsi-ld-test-suite/context#Building
${attribute_airqualitylevel}=  https://ngsi-ld-test-suite/context#airQualityLevel
${attribute_subcategory}=  https://ngsi-ld-test-suite/context#subCategory
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ Query several entities based on a list of properties
    Check Response Status Code  201    ${response['status']}

    @{entities_ids_to_be_compared}=   Create List       ${first_entity_id}    ${second_entity_id}
    @{entities_ids_to_be_retrieved}=  Catenate    SEPARATOR=,     ${first_entity_id}    ${second_entity_id}
    @{entity_types_to_be_retrieved}=  Catenate    SEPARATOR=,     ${entity_type}
    ${entities_ids_to_be_retrieved}=  Catenate    SEPARATOR=,     ${first_entity_id}    ${second_entity_id}
    ${entity_types_to_be_retrieved}=  Catenate    SEPARATOR=,     ${entity_type}
    ${response}=    Query Entities    entity_types=${entity_types_to_be_retrieved}    geoproperty=${geometry_property}
    Check Response Status Code  200    ${response['status']}
    Check Response Body Containing List Containing Entity elements    ${expectation_filename}    ${entities_ids_to_be_compared}    ${response['body']}
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ ${status_code}= 400
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_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         ${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              ${valid_entity_id}      speed                 empty-fragment.jsonld
012_02_06_Make a partial attribute update if the entity fragment is empty              ${valid_entity_id}      speed                 empty-fragment.json

*** Keywords ***
Update Attributes
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ ${filename}= vehicle-temporal-representation-sample.jsonld

*** Test Cases ***                                                                                         ENTITY_ID                           ATTRIBUTE_ID
015_02_01_Delete an attribute to a temporal representation of an entity with a missing entity id           ${EMPTY}                            speed
015_02_02_Delete an attribute to a temporal representation of an entity with an invalid entity id          invalidId
015_02_02_Delete an attribute to a temporal representation of an entity with an invalid entity id          invalidId                           speed 
015_02_03_Delete an attribute to a temporal representation of an entity with an invalid attribute id       ${valid_temporal_entity_id}         invalidName

*** Keywords ***
Loading