mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
653 B
33 lines
653 B
|
|
{ |
|
"name": "autocomplete boundary.country", |
|
"priorityThresh": 1, |
|
"description": "ensure that only USA results, and especially not GBR results, come back with boundary.country set", |
|
"endpoint": "autocomplete", |
|
"tests": [ |
|
{ |
|
"id": 1, |
|
"status": "pass", |
|
"user": "julian", |
|
"type": "dev", |
|
"in": { |
|
"boundary.country": "USA", |
|
"text": "London" |
|
}, |
|
"unexpected" : { |
|
"properties": [ |
|
{ |
|
"country_a": "GBR" |
|
} |
|
] |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"country_a": "USA" |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}
|
|
|