Commit b2d0ab13 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix(046_06): delete fixture entity in teardown

parent f4706224
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -22,16 +22,18 @@ Setup Server And Subscriptions
    Create Subscription From Subscription Payload    ${subscription_payload}    ${CONTENT_TYPE_LD_JSON}
    Set Suite Variable    ${subscription_id}
    NotificationUtils.Start Local Server    ${notification_server_host}    ${notification_server_port}
    ${entity_id}=    Generate Random Entity Id    ${building_id_prefix}
    Set Suite Variable    ${entity_id}

Delete Server And Subscriptions
    Delete Subscription    ${subscription_id}
    Delete Entity by Id Returning Response    ${entity_id}
    Stop Local Server

*** Test Case ***
Check that a notification is sent with all matching entities
    [Documentation]     only the subscribed Entities matching the query and watched attributes shall be included.
    [Tags]    sub-notification    5_11_7    046_06
    ${entity_id}=    Generate Random Entity Id    ${building_id_prefix}
    ${entity_building}=    Create Entity Selecting Content Type    ${building_filename}    ${entity_id}    ${CONTENT_TYPE_LD_JSON}

    ${notification}=    Wait for notification    timeout=${10}