Skip to content

Commit

Permalink
update issuer node API to new one
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Aug 8, 2024
1 parent a6ab261 commit be69335
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions tests/e2e/http_nameservice.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"pm.test(\"Status code is 201\", function () {",
" pm.response.to.have.status(201);",
"});",
"pm.test(\"Content-Type header is application/json\", () => {",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json; charset=utf-8');",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json');",
"});",
"",
"pm.test(\"Identifier is not empty\", () => {",
Expand Down Expand Up @@ -80,11 +80,11 @@
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"pm.test(\"Status code is 201\", function () {",
" pm.response.to.have.status(201);",
"});",
"pm.test(\"Content-Type header is application/json\", () => {",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json; charset=utf-8');",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json');",
"});",
"",
"pm.test(\"Identifier is not empty\", () => {",
Expand Down Expand Up @@ -343,11 +343,11 @@
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 202\", function () {",
" pm.response.to.have.status(202);",
"pm.test(\"Status code is 201\", function () {",
" pm.response.to.have.status(201);",
"});",
"pm.test(\"Content-Type header is application/json\", () => {",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json; charset=utf-8');",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json');",
"});",
"",
"pm.collectionVariables.set(\"age_claim_non_merklized_id\", pm.response.json().id);",
Expand Down Expand Up @@ -386,13 +386,12 @@
}
},
"url": {
"raw": "{{issuer_server}}/v1/identities/{{issuer_identity}}/claims",
"raw": "{{issuer_server}}/v1/{{issuer_identity}}/claims",
"host": [
"{{issuer_server}}"
],
"path": [
"v1",
"identities",
"{{issuer_identity}}",
"claims"
]
Expand All @@ -415,7 +414,7 @@
" pm.response.to.have.status(200);",
"});",
"pm.test(\"Content-Type header is application/json\", () => {",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json; charset=utf-8');",
" pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json');",
"});",
"",
"pm.test(\"Proof section is NOT empty\", function () {",
Expand Down Expand Up @@ -474,13 +473,12 @@
}
},
"url": {
"raw": "{{issuer_server}}/v1/identities/{{issuer_identity}}/claims/{{age_claim_non_merklized_id}}",
"raw": "{{issuer_server}}/v1/{{issuer_identity}}/claims/{{age_claim_non_merklized_id}}",
"host": [
"{{issuer_server}}"
],
"path": [
"v1",
"identities",
"{{issuer_identity}}",
"claims",
"{{age_claim_non_merklized_id}}"
Expand Down

0 comments on commit be69335

Please sign in to comment.