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

Content deleted Content added
add usertalk and sock category tests
add tests for template protection
Line 378:
function suite:testCategory_edit_full_template_all_temp()
self:assertCategoryEquals('Wikipedia protected templates', 'edit', 'full', 10, nil, timestamp)
end
 
function suite:testCategory_edit_template_template_all_all()
self:assertCategoryEquals('Wikipedia protected templates', 'edit', 'template', 10, nil, nil)
end
 
function suite:testCategory_edit_template_template_all_temp()
self:assertCategoryEquals('Wikipedia protected templates', 'edit', 'template', 10, nil, timestamp)
end