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.
49 lines
1.1 KiB
49 lines
1.1 KiB
{ |
|
"name": "/v1/search venues", |
|
"priorityThresh": 1, |
|
"endpoint": "search", |
|
"tests": [ |
|
{ |
|
"id": 1, |
|
"status": "fail", |
|
"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": "fail", |
|
"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" |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}
|
|
|