Merge "always order by page_id for dumps of current revisions"
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiTestCase.php
index c84ac44..486b16d 100644 (file)
@@ -1130,21 +1130,6 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
                $this->setMwGlobals( 'wgGroupPermissions', $newPermissions );
        }
 
-       /**
-        * Overrides specific user permissions until services are reloaded
-        *
-        * @param User $user
-        * @param string[]|string $permissions
-        *
-        * @throws Exception
-        */
-       public function overrideUserPermissions( $user, $permissions = [] ) {
-               MediaWikiServices::getInstance()->getPermissionManager()->overrideUserRightsForTesting(
-                       $user,
-                       $permissions
-               );
-       }
-
        /**
         * Sets the logger for a specified channel, for the duration of the test.
         * @since 1.27