From 61a1bb43f1db6d619f9ec1d4114da492943c4c43 Mon Sep 17 00:00:00 2001 From: Laurenz Rasche Date: Thu, 3 Oct 2024 12:44:11 +0200 Subject: [PATCH] update tests --- .../CreateSubcategoriesAdjoiningOrIsolated.test.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/processing/topics/roads_bikelanes/bikelanes/__tests__/CreateSubcategoriesAdjoiningOrIsolated.test.lua b/processing/topics/roads_bikelanes/bikelanes/__tests__/CreateSubcategoriesAdjoiningOrIsolated.test.lua index 982801405..96bf6e617 100644 --- a/processing/topics/roads_bikelanes/bikelanes/__tests__/CreateSubcategoriesAdjoiningOrIsolated.test.lua +++ b/processing/topics/roads_bikelanes/bikelanes/__tests__/CreateSubcategoriesAdjoiningOrIsolated.test.lua @@ -3,7 +3,13 @@ describe("CreateSubcategoriesAdjoiningOrIsolated", function() require("BikelaneCategories") require("CreateSubcategoriesAdjoiningOrIsolated") - local testCategory = BikelaneCategory.new({id = "test", desc = '', condition= function () return true end }) + local testCategory = BikelaneCategory.new({ + id = "test", + desc = '', + infrastructureExists=true, + implicitOneWay=true, + condition= function () return true end + }) local testCategoryAdjoining, testCategoryIsolated, testCategoryAdjoiningOrIsolated = CreateSubcategoriesAdjoiningOrIsolated(testCategory) it('should add postfix "adjoining" when IsSidepath is true', function() local tags = { ["is_sidepath"] = "yes" }