Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink committed Sep 1, 2023
1 parent cf6fa64 commit 2b9414e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 97 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/run-api-tests-newman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
run: dotnet publish -c Release -o ./build ./src/AasxServerBlazor
- name: Start Test Server And Execute Test Scripts
run: |
ls -l
cd build
ls -l
dotnet AasxServerBlazor.dll --rest --no-security --data-path ../test/rest_api/data --host 0.0.0.0 $OPTIONSAASXSERVER &
sleep 10
cd ..
Expand Down
95 changes: 0 additions & 95 deletions test/rest_api/postman/AASTests.json.postman_collection
Original file line number Diff line number Diff line change
Expand Up @@ -1126,101 +1126,6 @@
}
},
"response": []
},
{
"name": "aas Copy",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Model Type is AssetAdministrationShell\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.modelType).to.eql(\"AssetAdministrationShell\");\r",
" });\r",
"\r",
"pm.test(\"Description is array and length greater than 0\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.description).to.be.an(\"array\");\r",
" pm.expect(response.description.length).to.be.greaterThan(0);\r",
" });\r",
"\r",
"pm.test(\"Description Elements are defined correctly\", () => {\r",
" const response = pm.response.json();\r",
" for (let i = 0; i < response.description.length; i++) {\r",
" pm.expect(response.description[i].language).to.be.not.undefined;\r",
" pm.expect(response.description[i].language).to.be.not.null;\r",
" pm.expect(response.description[i].text).to.be.not.undefined;\r",
" pm.expect(response.description[i].text).to.be.not.null;\r",
" }\r",
"});\r",
"\r",
"pm.test(\"Id is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.id).to.be.not.undefined;\r",
" pm.expect(response.id).to.be.not.null;\r",
"});\r",
"\r",
"pm.test(\"AssetInformation is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.assetInformation).to.be.not.undefined;\r",
" pm.expect(response.assetInformation).to.be.not.null;\r",
"});\r",
"\r",
"pm.test(\"AssetInformation AssetKind is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.assetInformation.assetKind).to.be.not.undefined;\r",
" pm.expect(response.assetInformation.assetKind).to.be.not.null;\r",
"});\r",
"\r",
"pm.test(\"AssetInformation globalAssetId is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.assetInformation.globalAssetId).to.be.not.undefined;\r",
" pm.expect(response.assetInformation.globalAssetId).to.be.not.null;\r",
"});\r",
"\r",
"pm.test(\"AssetInformation assetType is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.assetInformation.assetType).to.be.not.undefined;\r",
" pm.expect(response.assetInformation.assetType).to.be.not.null;\r",
"});\r",
"\r",
"pm.test(\"AssetInformation SpecificAssetIds is defined\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.assetInformation.specificAssetIds).to.be.not.undefined;\r",
"});\r",
"\r",
"pm.test(\"Submodels is defined and not null\", () => {\r",
" const response = pm.response.json();\r",
" pm.expect(response.submodels).to.be.not.undefined;\r",
" pm.expect(response.submodels).to.be.not.null;\r",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/shells/:aasIdentifier",
"host": [
"{{baseUrl}}"
],
"path": [
"shells",
":aasIdentifier"
],
"variable": [
{
"key": "aasIdentifier",
"value": "{{aas_id_b64}}"
}
]
}
},
"response": []
}
],
"event": [
Expand Down

0 comments on commit 2b9414e

Please sign in to comment.