Skip to content

Commit

Permalink
Few more content-type header v1.0 to 1.1 fixes in happy paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Sridevi Miriyala committed Jan 27, 2021
1 parent a7ed9a4 commit 1974da6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Golden_Path_Mojaloop.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@
" });",
" ",
" pm.test(`${pm.environment.get('SIMPAYEE_NAME')} content-typeis same as sent in the request`, function () {",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.1');",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.0');",
" });",
" ",
" pm.test(`${pm.environment.get('SIMPAYEE_NAME')} accept is same as sent in the request`, function () {",
Expand Down Expand Up @@ -1525,8 +1525,8 @@
" pm.expect(headers['fspiop-destination']).to.eql(`${pm.environment.get('SIMPAYER_NAME')}`);",
" });",
" ",
" pm.test(`${pm.environment.get('SIMPAYER_NAME')} content-type should be application/vnd.interoperability.transfers+json;version=1.0`, function () {",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.0');",
" pm.test(`${pm.environment.get('SIMPAYER_NAME')} content-type should be application/vnd.interoperability.transfers+json;version=1.1`, function () {",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.1');",
" });",
" ",
" pm.test(`${pm.environment.get('SIMPAYER_NAME')} accept is empty`, function () {",
Expand Down Expand Up @@ -3151,8 +3151,8 @@
" pm.expect(headers['fspiop-destination']).to.eql(pm.environment.get('SIMPAYER_NAME'));",
" });",
" ",
" pm.test(`On ${pm.environment.get('SIMPAYER_NAME')} content-type should be application/vnd.interoperability.parties+json;version=1.1`, function () {",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.parties+json;version=1.1');",
" pm.test(`On ${pm.environment.get('SIMPAYER_NAME')} content-type should be application/vnd.interoperability.parties+json;version=1.0`, function () {",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.parties+json;version=1.0');",
" });",
" ",
" pm.test(`${pm.environment.get('SIMPAYER_NAME')} accept is empty`, function () {",
Expand Down Expand Up @@ -24325,8 +24325,8 @@
" pm.expect(headers['fspiop-destination']).to.eql(pm.environment.get('SIM1_NAME'));\r",
" });\r",
" \r",
" pm.test(`${pm.environment.get('SIM1_NAME')} content-type should be application/vnd.interoperability.transfers+json;version=1.0`, function () {\r",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.0');\r",
" pm.test(`${pm.environment.get('SIM1_NAME')} content-type should be application/vnd.interoperability.transfers+json;version=1.1`, function () {\r",
" pm.expect(headers['content-type']).to.eql('application/vnd.interoperability.transfers+json;version=1.1');\r",
" });\r",
" \r",
" pm.test(`${pm.environment.get('SIM1_NAME')} accept is empty`, function () {\r",
Expand Down

0 comments on commit 1974da6

Please sign in to comment.