Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisKina-dev committed Jan 8, 2025
1 parent 734f614 commit fd7ebcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
15 changes: 2 additions & 13 deletions postman/p4pa-auth-E2E.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,19 +279,8 @@
" pm.expect(jsonResponse).have.property(\"fiscalCode\").to.eq(\"DMEMPY15L21L736U\")\r",
" pm.expect(jsonResponse).have.property(\"issuer\").to.eq(pm.environment.get(\"tokenExchange_issuer\"))\r",
" pm.expect(jsonResponse).have.property(\"organizationAccess\").to.eq(\"IPA_TEST\")\r",
"\r",
" if (jsonResponse.brokerId) {\r",
" pm.expect(jsonResponse).to.have.property(\"brokerId\").that.is.a(\"number\");\r",
" } else {\r",
" pm.expect(jsonResponse).to.not.have.property(\"brokerId\");\r",
" }\r",
"\r",
" if (jsonResponse.brokerFiscalCode) {\r",
" pm.expect(jsonResponse).to.have.property(\"brokerFiscalCode\").that.is.a(\"string\");\r",
" } else {\r",
" pm.expect(jsonResponse).to.not.have.property(\"brokerFiscalCode\");\r",
" }\r",
"\r",
" pm.expect(jsonResponse).to.have.property(\"brokerId\").that.is.a(\"number\");\r",
" pm.expect(jsonResponse).to.have.property(\"brokerFiscalCode\").that.is.a(\"string\");\r",
" pm.expect(jsonResponse).to.have.property(\"canManageUsers\").that.is.a(\"boolean\");\r",
"\r",
" pm.expect(jsonResponse.organizations).to.have.property(\"length\").to.gte(3);\r",
Expand Down
15 changes: 2 additions & 13 deletions postman/p4pa-auth-NoAccessModeOrganization.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,8 @@
" pm.expect(jsonResponse).have.property(\"fiscalCode\").to.eq(\"DMEMPY15L21L736U\")\r",
" pm.expect(jsonResponse).have.property(\"issuer\").to.eq(pm.environment.get(\"tokenExchange_issuer\"))\r",
" pm.expect(jsonResponse).have.property(\"organizationAccess\").to.eq(\"IPA_TEST\")\r",
"\r",
" if (jsonResponse.brokerId) {\r",
" pm.expect(jsonResponse).to.have.property(\"brokerId\").that.is.a(\"number\");\r",
" } else {\r",
" pm.expect(jsonResponse).to.not.have.property(\"brokerId\");\r",
" }\r",
"\r",
" if (jsonResponse.brokerFiscalCode) {\r",
" pm.expect(jsonResponse).to.have.property(\"brokerFiscalCode\").that.is.a(\"string\");\r",
" } else {\r",
" pm.expect(jsonResponse).to.not.have.property(\"brokerFiscalCode\");\r",
" }\r",
"\r",
" pm.expect(jsonResponse).to.have.property(\"brokerId\").that.is.a(\"number\");\r",
" pm.expect(jsonResponse).to.have.property(\"brokerFiscalCode\").that.is.a(\"string\");\r",
" pm.expect(jsonResponse).to.have.property(\"canManageUsers\").that.is.a(\"boolean\");\r",
"\r",
" pm.expect(jsonResponse.organizations).have.property(\"length\").to.gte(3)\r",
Expand Down

0 comments on commit fd7ebcd

Please sign in to comment.