Skip to content

Commit

Permalink
updated test script
Browse files Browse the repository at this point in the history
  • Loading branch information
agg3fe committed Apr 3, 2024
1 parent 4267b13 commit d0a5beb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/aas-registry/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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-7720ddc855e7
encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU3"
decoded_shell_id: 20062250-6b6e-4eba-bf90-7720ddc855e6
encoded_shell_id: "MjAwNjIyNTAtNmI2ZS00ZWJhLWJmOTAtNzcyMGRkYzg1NWU2"
7 changes: 4 additions & 3 deletions e2e-tests/aas-registry/test_api.tavern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ stages:
idShort: digital twin of a break (Testing)
specificAssetIds: [{
"name":"PartInstanceID",
"value":"24975539203421"
"value":"24975539203422"
}]
response:
status_code: 201
Expand All @@ -99,7 +99,7 @@ stages:
specificAssetIds: [{
"supplementalSemanticIds": [],
"name":"PartInstanceID",
"value":"24975539203421"
"value":"24975539203422"
}]
submodelDescriptors: []

Expand Down Expand Up @@ -127,11 +127,12 @@ stages:
Edc-Bpn: "{edc_bpn:s}"
json: [{
"name": "PartInstanceID",
"value": "24975539203421"
"value": "24975539203422"
}]
response:
status_code: 200
json:
paging_metadata: {},
result: ["{decoded_shell_id:s}"]

- name: Delete shell descriptor by id
Expand Down

0 comments on commit d0a5beb

Please sign in to comment.