Commit 48eb15a1 authored by Andrea Il Grande's avatar Andrea Il Grande
Browse files

Modified parameter name from 'url_type' to 'base_url'

parent dd273fac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
    ${response}=    Query Entities    entity_types=Vehicle    local=true    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
    Check Response Body Containing Entities URIS set to    ${entities_id}    ${response.json()}
    ${response}=    Query Entities    entity_types=Vehicle    url_type=${remote_url}
    ${response}=    Query Entities    entity_types=Vehicle    base_url=${remote_url}
    Check Response Body Containing Entities URIS set to    ${entities_id}    ${response.json()}


@@ -50,7 +50,7 @@ Setup Entity On Remote And Registration
Delete Created Entity And Registration
    Delete Context Source Registration    ${registration_id}
    Delete Entity By Id    ${entity_id}
    Delete Entity By Id    ${entity_id}    url_type=${remote_url}
    Delete Entity By Id    ${entity_id}    base_url=${remote_url}
    

    
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
    Check JSON Value In Response Body    ['status']    409    ${response.json()['errors'][0]['error']}

    @{entities_id}=    Create List    ${entity_id}
    ${response}=    Query Entities    entity_types=Vehicle    url_type=${remote_url}
    ${response}=    Query Entities    entity_types=Vehicle    base_url=${remote_url}
    Check Response Body Containing Entities URIS set to    ${entities_id}    ${response.json()}


@@ -51,7 +51,7 @@ Setup Entity On Remote And Registration
Delete Created Entity And Registration
    Delete Context Source Registration    ${registration_id}
    Delete Entity By Id    ${entity_id}
    Delete Entity By Id    ${entity_id}    url_type=${remote_url}
    Delete Entity By Id    ${entity_id}    base_url=${remote_url}
    

    
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ Setup Entity On Remote And Registration
    Set Suite Variable    ${entity_id}
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}    url_type=${remote_url}
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}    base_url=${remote_url}
    Check Response Status Code    201    ${response.status_code}


@@ -51,7 +51,7 @@ Setup Entity On Remote And Registration
Delete Created Entity And Registration
    Delete Context Source Registration    ${registration_id}
    Delete Entity By Id    ${entity_id}
    Delete Entity By Id    ${entity_id}    url_type=${remote_url}
    Delete Entity By Id    ${entity_id}    base_url=${remote_url}
    

    
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
Setup Entity On Remote And Registration
    ${entity_id}=    Generate Random Entity Id    ${entity_id_prefix}
    Set Suite Variable    ${entity_id}
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}    url_type=${remote_url}
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}    base_url=${remote_url}
    Check Response Status Code    201    ${response.status_code}


@@ -51,7 +51,7 @@ Setup Entity On Remote And Registration
Delete Created Entity And Registration
    Delete Context Source Registration    ${registration_id}
    Delete Entity By Id    ${entity_id}
    Delete Entity By Id    ${entity_id}    url_type=${remote_url}
    Delete Entity By Id    ${entity_id}    base_url=${remote_url}
    

    
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
    ${response}=    Query Entities    entity_types=Vehicle    local=true    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
    Should Be Empty    ${response.json()}
    ${response}=    Query Entities    entity_types=Vehicle    url_type=${remote_url}
    ${response}=    Query Entities    entity_types=Vehicle    base_url=${remote_url}
    Check Response Status Code    200    ${response.status_code}
    Should Be Empty    ${response.json()}

Loading