Module:Protection banner/config/testcases: Difference between revisions

Content deleted Content added
(doesnt look like own issue)
getting "Lua error -- Module:Protection_banner:23: bad argument #4 to 'format' (string expected, got nil)" — which is from passing .title to makeCategoryLink. Is line 106 in Protection.new broken?
Line 14:
 
function suite.makeFakeProtectionObj(fields, cfg, title)
local obj = Protection.new({}, cfg, title or "test")
for k, v in pairs(fields) do
obj[k] = v