Skip to content

Commit a969ab0

Browse files
authored
Merge pull request #2063 from joto/test-add-geoms
Actually add geometries in the test
2 parents e387587 + 4f6f2af commit a969ab0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/bdd/flex/lua-expire.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Feature: Expire configuration in Lua file
7272
})
7373
7474
function osm2pgsql.process_node(object)
75-
t:insert({})
75+
t:insert({ some = object:as_point() })
7676
end
7777
"""
7878
When running osm2pgsql flex
@@ -93,7 +93,7 @@ Feature: Expire configuration in Lua file
9393
})
9494
9595
function osm2pgsql.process_node(object)
96-
t:insert({})
96+
t:insert({ some = object:as_point() })
9797
end
9898
"""
9999
When running osm2pgsql flex
@@ -136,7 +136,7 @@ Feature: Expire configuration in Lua file
136136
})
137137
138138
function osm2pgsql.process_node(object)
139-
t:insert({})
139+
t:insert({ some = object:as_point() })
140140
end
141141
"""
142142
Then running osm2pgsql flex fails
@@ -184,7 +184,7 @@ Feature: Expire configuration in Lua file
184184
})
185185
186186
function osm2pgsql.process_node(object)
187-
t:insert({})
187+
t:insert({ some = object:as_point() })
188188
end
189189
"""
190190
When running osm2pgsql flex
@@ -208,7 +208,7 @@ Feature: Expire configuration in Lua file
208208
})
209209
210210
function osm2pgsql.process_node(object)
211-
t:insert({})
211+
t:insert({ some = object:as_point() })
212212
end
213213
"""
214214
When running osm2pgsql flex
@@ -231,7 +231,7 @@ Feature: Expire configuration in Lua file
231231
})
232232
233233
function osm2pgsql.process_node(object)
234-
t:insert({})
234+
t:insert({ geom = object:as_point() })
235235
end
236236
"""
237237
When running osm2pgsql flex

0 commit comments

Comments
 (0)