X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2Ftitle%2FNamespaceInfoTest.php;h=b1262a33a996fa109c0c0d9eaba2a31200a69f55;hb=e5ef0fd0c6607dd34f6dee69d716b159662a0a34;hp=4e376e805199a92a374eac23aee66e4759b713f8;hpb=1bd43b1bffffc3720e1ef743d802e88fdf849b0f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/title/NamespaceInfoTest.php b/tests/phpunit/includes/title/NamespaceInfoTest.php index 4e376e8051..b1262a33a9 100644 --- a/tests/phpunit/includes/title/NamespaceInfoTest.php +++ b/tests/phpunit/includes/title/NamespaceInfoTest.php @@ -1300,11 +1300,7 @@ class NamespaceInfoTest extends MediaWikiTestCase { 'No namespace restriction' => [ [ '', 'autoconfirmed', 'sysop' ], NS_TALK ], 'Restricted to autoconfirmed' => [ [ '', 'sysop' ], NS_MAIN ], 'Restricted to sysop' => [ [ '' ], NS_USER ], - // @todo Bug -- 'sysop' protection should be allowed in this case. Someone who's - // autoconfirmed and also privileged can edit this namespace, and would be blocked by - // the sysop protection. - 'Restricted to someone in two groups' => [ [ '' ], 101 ], - + 'Restricted to someone in two groups' => [ [ '', 'sysop' ], 101 ], 'No special permissions' => [ [ '' ], NS_TALK, $this->getMockUser() ], 'autoconfirmed' => [ [ '', 'autoconfirmed' ],