X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Ftitle%2FNamespaceInfoTest.php;h=03ba960cbeadf9b4ce606b27936db6c81b489578;hb=9c7f6734c397a954b8eaa5ec73876f2b4bf92afb;hp=7f97a16dfa4c8ca08e4a99803fc6f28ac5aec5f1;hpb=cc41773f61c23b922fe4cfc513b105ec4d32eeec;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/title/NamespaceInfoTest.php b/tests/phpunit/includes/title/NamespaceInfoTest.php index 7f97a16dfa..03ba960cbe 100644 --- a/tests/phpunit/includes/title/NamespaceInfoTest.php +++ b/tests/phpunit/includes/title/NamespaceInfoTest.php @@ -1275,7 +1275,6 @@ class NamespaceInfoTest extends MediaWikiTestCase { 'wgRestrictionLevels' => [ '', 'autoconfirmed', 'sysop' ], 'wgAutopromote' => [] ] ); - $this->resetServices(); $obj = $this->newObj(); $user = is_null( $groups ) ? null : $this->getTestUser( $groups )->getUser(); $this->assertSame( $expected, $obj->getRestrictionLevels( $ns, $user ) );