add BDD tests for importing into the new place_entrance table

This commit is contained in:
Sarah Hoffmann
2025-10-24 10:52:25 +02:00
parent 4c91a0bc8d
commit 2dda9079f0
4 changed files with 232 additions and 2 deletions

View File

@@ -953,7 +953,7 @@ function module.set_entrance_filter(data)
ENTRANCE_FUNCTION = data and data.func
if data.main_tags ~= nil and next(data.main_tags) ~= nil then
if data ~= nil and data.main_tags ~= nil and next(data.main_tags) ~= nil then
if data.extra_include ~= nil and next(data.extra_include) == nil then
-- shortcut: no extra tags requested
ENTRANCE_FUNCTION = function(o)