mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
fix flaky API test
The search 'landstr' produces many duplicates so that with some bad luck 4 or less results may appear. Disable deduplication to make it more predictable.
This commit is contained in:
@@ -172,10 +172,12 @@ Feature: Search queries
|
||||
|
||||
Scenario: Limit number of search results
|
||||
When sending json search query "landstr"
|
||||
| dedupe |
|
||||
| 0 |
|
||||
Then more than 4 results are returned
|
||||
When sending json search query "landstr"
|
||||
| limit |
|
||||
| 4 |
|
||||
| limit | dedupe |
|
||||
| 4 | 0 |
|
||||
Then exactly 4 results are returned
|
||||
|
||||
Scenario: Limit parameter must be a number
|
||||
|
||||
Reference in New Issue
Block a user