Skip to content

Commit

Permalink
apply tloubrieu's fixes from #300
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdunnjpl committed Jul 24, 2024
1 parent 47eca46 commit c25cd8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/postman/postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -2066,9 +2066,9 @@
"exec": [
"pm.test(\"C4438483 Status code is 200\", () => {pm.response.to.have.status(200)});",
"const content = pm.response.json();",
"const relevantHits = content.data.filter(hit => hit.properties.lid[0] === \"urn:nasa:pds:mars2020.spice:spice_kernels\")",
"const relevantHits = content.data.filter(hit => hit.properties.lid[0] === \"urn:nasa:pds:mars2020.spice\")",
"pm.test(\"C4438483 Correct hits returned\", () => { pm.expect(relevantHits.length).to.eql(1) });",
"pm.test(\"C4438483 Correct data returned\", () => {pm.expect(relevantHits[0].id).to.eql(\"urn:nasa:pds:mars2020.spice:spice_kernels::3.0\")});"
"pm.test(\"C4438483 Correct data returned\", () => {pm.expect(relevantHits[0].id).to.eql(\"urn:nasa:pds:mars2020.spice::3.0\")});"
],
"type": "text/javascript",
"packages": {}
Expand All @@ -2079,13 +2079,14 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/products/urn:nasa:pds:mars2020.spice:spice_kernels:mk_m2020/member-of",
"raw": "{{baseUrl}}/products/urn:nasa:pds:mars2020.spice:spice_kernels:mk_m2020/member-of/member-of",
"host": [
"{{baseUrl}}"
],
"path": [
"products",
"urn:nasa:pds:mars2020.spice:spice_kernels:mk_m2020",
"member-of",
"member-of"
]
}
Expand Down

0 comments on commit c25cd8f

Please sign in to comment.