Commit de87782e authored by Benedetta Arena's avatar Benedetta Arena
Browse files

fix: correct test setup

parent 9cc199be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource
Resource            ${EXECDIR}/resources/JsonUtils.resource
Resource            ${EXECDIR}/resources/MockServerUtils.resource

Test Setup          Setup Entity Id And Registration And Start Context Source Mock Server
Test Setup          Create Entity And Registration On The Context Broker And Start Context Source Mock Server
Test Teardown       Delete Created Entity And Registration And Stop Context Source Mock Server

*** Variables ***
@@ -39,7 +39,7 @@ D012_01_inc Batch Create Entities With Inclusive Registration
    ...    response_body=${response1.json()}

*** Keywords ***
Setup Entity Id And Registration And Start Context Source Mock Server
Create Entity And Registration On The Context Broker And Start Context Source Mock Server
    ${entity_id1}=    Generate Random Vehicle Entity Id
    Set Suite Variable    ${entity_id1}
    ${entity_id2}=    Generate Random Vehicle Entity Id
+3 −3
Original line number Diff line number Diff line
@@ -11,11 +11,11 @@
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Entity Id And Registration And Start Context Source Mock Server",
    "Create Entity And Registration On The Context Broker And Start Context Source Mock Server",
    "Delete Created Entity And Registration And Stop Context Source Mock Server"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity id set to ${entity_id}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} on the Context Broker\n        with an id set to ${entity_id}\n        and payload set to ${entity_payload_filename}\n    and the SUT containing a Context Source Registration \n        with id equal to ${registration_id}\n        and payload set to ${registration_payload_file_path}\n    and the SUT containing a Context Source Mock Server\n}",
  "test_cases": [
    {
      "name": "D012_01_inc Batch Create Entities With Inclusive Registration",
@@ -30,7 +30,7 @@
        "dist-ops",
        "since_v1.6.1"
      ],
      "setup": "Setup Entity Id And Registration And Start Context Source Mock Server",
      "setup": "Create Entity And Registration On The Context Broker And Start Context Source Mock Server",
      "teardown": "Delete Created Entity And Registration And Stop Context Source Mock Server",
      "template": null,
      "http_verb": "POST",