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.
57 lines
1.1 KiB
57 lines
1.1 KiB
6 years ago
|
{
|
||
|
"name": "search coarse",
|
||
|
"priorityThresh": 5,
|
||
|
"endpoint": "search",
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"user": "Diana",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"focus.point.lat": 40.744243,
|
||
|
"focus.point.lon": -73.990342,
|
||
|
"text": "brooklyn"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"label": "Brooklyn, New York, NY, USA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"issue": "https://github.com/pelias/pelias/issues/295",
|
||
|
"description": "data issue",
|
||
|
"user": "Diana",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"focus.point.lat": 40.744243,
|
||
|
"focus.point.lon": -73.990342,
|
||
|
"text": "new york"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"label": "New York, USA"
|
||
|
},
|
||
|
{
|
||
|
"label": "New York, NY, USA"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "New York",
|
||
|
"borough": "Brooklyn"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|