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

Content deleted Content added
2 corr.
+1 extendedconfirmed case
Line 47:
d.pc = 'autoreview'
d.semi = 'autoconfirmed'
d.extended = 'extendedconfirmed'
d.template = 'templateeditor'
d.full = 'sysop'
Line 789 ⟶ 790:
function suite:testCategory_edit_semi_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia semi-protected pages', d.edit, d.semi, 0, nil, nil)
end
 
function suite:testCategory_edit_extended_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia pages under 30-500 editing restriction', d.edit, d.extended, 0, nil, nil)
end