Skip to content

Commit

Permalink
Add an example of deduplication where order matters
Browse files Browse the repository at this point in the history
This test case came out of evaluating
pelias/api#1607. It passes with the current API
master branch, fails with pelias/api#1607, but
passes with pelias/api#1612
  • Loading branch information
orangejulius committed Mar 3, 2022
1 parent e2202e5 commit 4b1dcfb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test_cases/deduplication.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,26 @@
}
]
}
},
{
"id": 7,
"status": "pass",
"user": "orangejulius",
"endpoint": "autocomplete",
"description": "City record should appear near the top, even if the preferred record started lower down",
"in": {
"text": "Anthering, Austria"
},
"expected": {
"priorityThresh": 2,
"properties": [
{
"name": "Anthering",
"country_a": "AUT",
"layer": "locality"
}
]
}
}
]
}

0 comments on commit 4b1dcfb

Please sign in to comment.