Skip to content

Commit

Permalink
fix one postman test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas loubrieu committed Oct 9, 2023
1 parent a577ad5 commit 7790428
Showing 1 changed file with 40 additions and 4 deletions.
44 changes: 40 additions & 4 deletions docker/postman/postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"info": {
"_postman_id": "478f45c4-7b67-4c79-829b-18373bc14aba",
"name": "Planetary Data System API Reference Tests",
"_postman_id": "23f6b1ba-f2d6-4126-9385-1cb78121b18c",
"name": "Planetary Data System API Reference Tests Copy 2",
"description": "Federated PDS API which provides actionable end points standardized\nbetween the different nodes.\n\n\nContact Support:\n Email: [email protected]",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "11337552",
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-478f45c4-7b67-4c79-829b-18373bc14aba?action=share&source=collection_link&creator=11337552"
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-23f6b1ba-f2d6-4126-9385-1cb78121b18c?action=share&source=collection_link&creator=11337552"
},
"item": [
{
Expand Down Expand Up @@ -708,7 +708,7 @@
"",
"pm.test(\"C2488844 Response contains same number of properties\", () => {",
" const responseJson = pm.response.json();",
" pm.expect(responseJson.length).to.be.eql(140);",
" pm.expect(responseJson.length).to.be.eql(141);",
"});",
"",
"pm.test(\"C2488844 Response property objects follow expected schema\", () => {",
Expand Down Expand Up @@ -789,6 +789,42 @@
}
},
"response": []
},
{
"name": "NASA-PDS/registry-api#375 csv response, use | as inner list separator",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "text/csv",
"type": "text"
}
],
"url": {
"raw": "{{baseUrl}}/products/:lidvid?fields=lid,pds:File.pds:file_size",
"host": [
"{{baseUrl}}"
],
"path": [
"products",
":lidvid"
],
"query": [
{
"key": "fields",
"value": "lid,pds:File.pds:file_size"
}
],
"variable": [
{
"key": "lidvid",
"value": "urn:nasa:pds:mars2020.spice::1.0"
}
]
}
},
"response": []
}
]
}
Expand Down

0 comments on commit 7790428

Please sign in to comment.