diff --git a/e2e-tests/aas-registry/common.yaml b/e2e-tests/aas-registry/common.yaml index 6e30588b..e84c8176 100644 --- a/e2e-tests/aas-registry/common.yaml +++ b/e2e-tests/aas-registry/common.yaml @@ -25,5 +25,5 @@ description: variables: aas_registry_api_url: "{tavern.env_vars.AAS_REGISTRY_API_URL}" edc_bpn: "{tavern.env_vars.EDC_BPN}" - decoded_shell_id: 20062250-6b6e-4eba-bf90-7720ddc855e9 - encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU5" \ No newline at end of file + decoded_shell_id: 20062250-6b6e-4eba-bf90-7720ddc855e8 + encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU4" \ No newline at end of file diff --git a/e2e-tests/aas-registry/test_api.tavern.yaml b/e2e-tests/aas-registry/test_api.tavern.yaml index 31ac1b68..6d6dd219 100644 --- a/e2e-tests/aas-registry/test_api.tavern.yaml +++ b/e2e-tests/aas-registry/test_api.tavern.yaml @@ -117,17 +117,6 @@ stages: response: status_code: 204 - - name: Delete shell descriptor by id - request: - url: "{aas_registry_api_url:s}/api/v3/shell-descriptors/{encoded_shell_id:s}" - method: DELETE - headers: - Content-Type: application/json - Authorization: "Bearer {access_token}" - Edc-Bpn: "{edc_bpn:s}" - response: - status_code: 204 - - name: Lookup shell without encoding request: url: "{aas_registry_api_url:s}/api/v3/lookup/shellsByAssetLink" @@ -137,10 +126,22 @@ stages: Authorization: "Bearer {access_token}" Edc-Bpn: "{edc_bpn:s}" json: [{ - "name": "PartInstanceID", - "value": "24975539203421" + "name": "PartInstanceID", + "value": "24975539203421" }] response: status_code: 200 json: - result: ["{decoded_shell_id:s}"] \ No newline at end of file + result: ["{decoded_shell_id:s}"] + + - name: Delete shell descriptor by id + request: + url: "{aas_registry_api_url:s}/api/v3/shell-descriptors/{encoded_shell_id:s}" + method: DELETE + headers: + Content-Type: application/json + Authorization: "Bearer {access_token}" + Edc-Bpn: "{edc_bpn:s}" + response: + status_code: 204 +