make sure linked places get recomputed when unlinked

When linked the place may not be in the search index,
so it must be reindexed when being unlinked. The status
change will only have an effect during the subsequent
update, so change tests to that effect.
This commit is contained in:
Sarah Hoffmann
2016-03-28 09:51:29 +02:00
parent 53eb9a5f14
commit 23fa6018a4
2 changed files with 6 additions and 1 deletions

View File

@@ -21,6 +21,8 @@ Feature: Updates of linked places
Then table placex contains
| object | linked_place_id
| N1 | None
When updating place areas
| osm_type | osm_id | class | type | name | admin_level | geometry
When sending query "foo" with dups
Then results contain
| osm_type
@@ -42,6 +44,8 @@ Feature: Updates of linked places
Then table placex contains
| object | linked_place_id
| N1 | None
When updating place areas
| osm_type | osm_id | class | type | name | admin_level | geometry
And sending query "foo" with dups
Then results contain
| osm_type