X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTemplateCategoriesTest.php;h=04addab4a6473542ee3f0e673a3fa1f733ce86b0;hb=77cc011b9c8d24d191b2094e81db13c7ab0ff844;hp=ab2313635da395aa67df22a1bb3439e1ba1f3641;hpb=853b17ef5788be25045855ab340c9e0d8b443218;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TemplateCategoriesTest.php b/tests/phpunit/includes/TemplateCategoriesTest.php index ab2313635d..04addab4a6 100644 --- a/tests/phpunit/includes/TemplateCategoriesTest.php +++ b/tests/phpunit/includes/TemplateCategoriesTest.php @@ -1,10 +1,10 @@ mRights = [ 'createpage', 'edit', 'purge', 'delete' ]; + $this->overrideUserPermissions( $user, [ 'createpage', 'edit', 'purge', 'delete' ] ); $title = Title::newFromText( "Categorized from template" ); $page = WikiPage::factory( $title );