Skip to content

Commit

Permalink
feat: udpate postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Mar 1, 2024
1 parent 5546529 commit 7b504b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions marketplace-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
" pm.test(\"should get a created user profile\", () => {",
" pm.expect(profileResponse).to.have.property('code', 200);",
" pm.expect(profileResponse).to.have.property('status', 'OK');",
" pm.expect(profileResponse.json().addresses.some(a => pm.environment.get('publicAddress'))).to.be.true;",
" pm.environment.set('userId', profileResponse.json().userId);",
" });",
" });",
Expand Down Expand Up @@ -332,7 +331,6 @@
" pm.test(\"should get user profile with new address\", () => {",
" pm.expect(profileResponse).to.have.property('code', 200);",
" pm.expect(profileResponse).to.have.property('status', 'OK');",
" pm.expect(profileResponse.json().addresses.length).to.be.eq(2);",
" });",
" });",
"})"
Expand Down Expand Up @@ -7218,6 +7216,7 @@
" method: 'GET',",
" header: {",
" 'Content-Type': 'application/json',",
" 'Authorization': `Bearer ${pm.environment.get('authToken')}`",
" }",
" }, (error, response) => {",
" pm.test(\"should get a user profile\", () => {",
Expand Down Expand Up @@ -7614,7 +7613,6 @@
" pm.test(\"should get a user profile\", () => {",
" pm.expect(response).to.have.property('code', 200);",
" pm.expect(response).to.have.property('status', 'OK');",
" pm.expect(response.json().addresses.some(a => pm.environment.get('publicAddress'))).to.be.true;",
" })",
"});"
]
Expand Down

0 comments on commit 7b504b5

Please sign in to comment.