Permalink
Browse files

Parameterize email/password in API Postman collection

  • Loading branch information...
anishkny committed Nov 12, 2017
1 parent 2e3ffc2 commit 16e8f0a9cc41317c0a2f2c06587e2f8f83a0117c
Showing with 7 additions and 7 deletions.
  1. +1 −1 .travis.yml
  2. +6 −6 api/Conduit.postman_collection.json
View
@@ -2,4 +2,4 @@ language: node_js
node_js:
- "7"
script:
- newman run api/Conduit.postman_collection.json -e api/Conduit.postman_integration_test_environment.json
- newman run api/Conduit.postman_collection.json -e api/Conduit.postman_integration_test_environment.json --global-var "EMAIL=$CONDUIT_EMAIL" --global-var "PASSWORD=$CONDUIT_PASSWORD"
@@ -52,7 +52,7 @@
],
"body": {
"mode": "raw",
"raw": "{\"user\":{\"email\":\"john@jacob.com\", \"password\":\"johnnyjacob\"}}"
"raw": "{\"user\":{\"email\":\"{{EMAIL}}\", \"password\":\"{{PASSWORD}}\"}}"
},
"description": ""
},
@@ -105,7 +105,7 @@
],
"body": {
"mode": "raw",
"raw": "{\"user\":{\"email\":\"john@jacob.com\", \"password\":\"johnnyjacob\"}}"
"raw": "{\"user\":{\"email\":\"{{EMAIL}}\", \"password\":\"{{PASSWORD}}\"}}"
},
"description": ""
},
@@ -154,7 +154,7 @@
],
"body": {
"mode": "raw",
"raw": "{\"user\":{\"email\":\"john@jacob.com\", \"password\":\"johnnyjacob\", \"username\":\"johnjacob\"}}"
"raw": "{\"user\":{\"email\":\"{{EMAIL}}\", \"password\":\"{{PASSWORD}}\", \"username\":\"johnjacob\"}}"
},
"description": ""
},
@@ -255,7 +255,7 @@
],
"body": {
"mode": "raw",
"raw": "{\"user\":{\"email\":\"john@jacob.com\"}}"
"raw": "{\"user\":{\"email\":\"{{EMAIL}}\"}}"
},
"description": ""
},
@@ -1748,7 +1748,7 @@
],
"body": {
"mode": "raw",
"raw": "{\"user\":{\"email\":\"john@jacob.com\"}}"
"raw": "{\"user\":{\"email\":\"{{EMAIL}}\"}}"
},
"description": ""
},
@@ -1863,4 +1863,4 @@
]
}
]
}
}

0 comments on commit 16e8f0a

Please sign in to comment.