mirror of https://github.com/pelias/docker.git
Julian Simioni
6 years ago
committed by
GitHub
11 changed files with 8201 additions and 0 deletions
@ -0,0 +1,7 @@
|
||||
#!/bin/bash |
||||
set -e; |
||||
|
||||
# run acceptance tests |
||||
function test_fuzzy(){ compose_run 'fuzzy-tester' -e 'docker' $@; } |
||||
|
||||
register 'test' 'run' 'run fuzzy-tester test cases' test_fuzzy |
@ -0,0 +1,49 @@
|
||||
{ |
||||
"name": "/v1/search venues", |
||||
"priorityThresh": 1, |
||||
"endpoint": "search", |
||||
"tests": [ |
||||
{ |
||||
"id": 1, |
||||
"status": "pass", |
||||
"notes": "los angeles international airport should come up for LAX", |
||||
"in": { |
||||
"text": "lax" |
||||
}, |
||||
"expected": { |
||||
"properties": [ |
||||
{ |
||||
"layer": "venue", |
||||
"name": "Los Angeles International Airport", |
||||
"country_a": "USA", |
||||
"country": "United States", |
||||
"region": "California", |
||||
"region_a": "CA", |
||||
"locality": "Los Angeles" |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
{ |
||||
"id": 2, |
||||
"status": "pass", |
||||
"notes": "los angeles international airport should come up for LAX", |
||||
"in": { |
||||
"text": "lax airport" |
||||
}, |
||||
"expected": { |
||||
"properties": [ |
||||
{ |
||||
"layer": "venue", |
||||
"name": "Los Angeles International Airport", |
||||
"country_a": "USA", |
||||
"country": "United States", |
||||
"region": "California", |
||||
"region_a": "CA", |
||||
"locality": "Los Angeles" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
] |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,49 @@
|
||||
{ |
||||
"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" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue