Skip to content

Commit

Permalink
Corrected errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vasan-agrostar committed Jan 7, 2024
1 parent f1a7938 commit a631c2b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/tests-bundle.zzb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ variables:
addressVar:
streetAddress: 7th street
city: Nara
postalCode: "560001" # string. This will make a difference when used in the body
postalCode: "560002" # string. This will make a difference when used in the body
getUrl: /get
fooVar: bar
agrostar: https://test-farmerapp.agrostar.in
Expand Down Expand Up @@ -222,7 +222,7 @@ requests:
address:
streetAddress: naist street
city: Nara
postalCode: "560001" #string
postalCode: "560002" #string
phoneNumbers:
- type: mobile
number: 0123-4567-8888
Expand Down Expand Up @@ -304,7 +304,7 @@ requests:
address: { city: Bangalore, pincode: 560001 }
setvars:
nameVar: $.data.name
addressVar: $.data.address
addressVarNum: $.data.address
cityVar: $.data.address.city
pincodeVar: $.data.address.pincode

Expand Down Expand Up @@ -338,7 +338,7 @@ requests:
body: |
{
"name": "Tom",
"address": $addressVar
"address": $addressVarNum
}
tests:
$.data.name: Tom
Expand All @@ -350,7 +350,7 @@ requests:
url: /post
body:
name: Tom
address: $addressVar
address: $addressVarNum
tests:
$.data.name: Tom
$.data.address: { $eq: { city: Bangalore, pincode: 560001 } }

0 comments on commit a631c2b

Please sign in to comment.