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.
50 lines
1.1 KiB
50 lines
1.1 KiB
7 years ago
|
{
|
||
|
"name": "/v1/search venues",
|
||
|
"priorityThresh": 1,
|
||
|
"endpoint": "search",
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"notes": "portland international should come up for PDX",
|
||
|
"in": {
|
||
|
"text": "pdx"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "venue",
|
||
|
"name": "Portland International Airport",
|
||
|
"country_a": "USA",
|
||
|
"country": "United States",
|
||
|
"region": "Oregon",
|
||
|
"region_a": "OR",
|
||
|
"locality": "Portland"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"notes": "portland international should come up for PDX",
|
||
|
"in": {
|
||
|
"text": "pdx airport"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "venue",
|
||
|
"name": "Portland International Airport",
|
||
|
"country_a": "USA",
|
||
|
"country": "United States",
|
||
|
"region": "Oregon",
|
||
|
"region_a": "OR",
|
||
|
"locality": "Portland"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|