Skip to content

Commit

Permalink
Removed more broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrazzatti committed Apr 4, 2024
1 parent 43bdfbe commit 202c4b9
Showing 1 changed file with 0 additions and 138 deletions.
138 changes: 0 additions & 138 deletions test/postman/test-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1006,144 +1006,6 @@
},
"response": []
},
{
"name": "Add attachment to Datarecord",
"event": [
{
"listen": "test",
"script": {
"exec": [
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json",
"disabled": true
},
{
"key": "Authorization",
"type": "text",
"value": "Bearer {{token}}"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "attachmentFields",
"type": "file",
"src": "test/postman/attachment.png"
},
{
"key": "dataLocations",
"value": "",
"type": "text",
"disabled": true
}
]
},
"url": {
"raw": "{{host}}/default/rdmp/api/records/datastreams/{{attDataRecordOid}}",
"host": [
"{{host}}"
],
"path": [
"default",
"rdmp",
"api",
"records",
"datastreams",
"{{attDataRecordOid}}"
]
}
},
"response": []
},
{
"name": "List Attachments for Datarecord",
"event": [
{
"listen": "test",
"script": {
"exec": [
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Has attachments\", function () {",
" var jsonData = pm.response.json();",
" // pm.expect()",
" pm.expect(_.size(jsonData)).to.gt(0);",
"});"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
},
{
"key": "Authorization",
"type": "text",
"value": "Bearer {{token}}"
}
],
"url": {
"raw": "{{host}}/default/rdmp/api/records/datastreams/{{attDataRecordOid}}",
"host": [
"{{host}}"
],
"path": [
"default",
"rdmp",
"api",
"records",
"datastreams",
"{{attDataRecordOid}}"
]
}
},
"response": []
},
{
"name": "Create Temporary Datapub",
"event": [
Expand Down

0 comments on commit 202c4b9

Please sign in to comment.