Skip to content

Commit

Permalink
fixed pm test syntax error (#541)
Browse files Browse the repository at this point in the history
Signed-off-by: Kial Jinnah <[email protected]>
  • Loading branch information
kialj876 authored Mar 4, 2019
1 parent 6a34ec2 commit 3efa5c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions api/tests/postman/namex-pipeline-dev.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "db393b63-7df8-46a7-bac1-beac126a91be",
"_postman_id": "3a6b88e0-e19b-432c-838c-58954eb6ba67",
"name": "namex-pipeline-dev",
"description": "# Introduction\nWhat does your API do?\n\n# Overview\nThings that the developers should know about\n\n# Authentication\nWhat is the preferred way of using the API?\n\n# Error Codes\nWhat errors and status codes can a user expect?\n\n# Rate limit\nIs there a limit to the number of requests an user can send?",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
Expand Down Expand Up @@ -969,9 +969,9 @@
" if (response.body.names[i].choice == 1) ",
" response.body.names[i].name.should.include(\"A C C DIAMONDS LTD. LIMITED TESTING\");",
" else if (response.body.names[i].choice == 2)",
" response.body.names[i].name.should.be(\"TEST NAME CHOICE 2 ADD\");",
" response.body.names[i].name.should.include(\"TEST NAME CHOICE 2 ADD\");",
" else",
" response.body.names[i].name.should.be(\"TEST NAME CHOICE 3 ADD\");",
" response.body.names[i].name.should.include(\"TEST NAME CHOICE 3 ADD\");",
" }",
" });",
" ",
Expand Down
6 changes: 3 additions & 3 deletions api/tests/postman/namex-pipeline-test.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "c7d80c36-e84c-480c-b1bf-e622e01f88be",
"_postman_id": "b798a1bf-af85-45a3-a8b0-6d30d6609005",
"name": "namex-pipeline-test",
"description": "# Introduction\nWhat does your API do?\n\n# Overview\nThings that the developers should know about\n\n# Authentication\nWhat is the preferred way of using the API?\n\n# Error Codes\nWhat errors and status codes can a user expect?\n\n# Rate limit\nIs there a limit to the number of requests an user can send?",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
Expand Down Expand Up @@ -969,9 +969,9 @@
" if (response.body.names[i].choice == 1) ",
" response.body.names[i].name.should.include(\"STRANGWAY & SONS ACCOUNTING SERVICES TESTING\");",
" else if (response.body.names[i].choice == 2)",
" response.body.names[i].name.should.be(\"TEST NAME CHOICE 2 ADD\");",
" response.body.names[i].name.should.include(\"TEST NAME CHOICE 2 ADD\");",
" else",
" response.body.names[i].name.should.be(\"TEST NAME CHOICE 3 ADD\");",
" response.body.names[i].name.should.include(\"TEST NAME CHOICE 3 ADD\");",
" }",
" });",
" ",
Expand Down

0 comments on commit 3efa5c3

Please sign in to comment.