Merge "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiUserrightsTest.php
index ce2d8c8..0d7ad0c 100644 (file)
@@ -38,7 +38,7 @@ class ApiUserrightsTest extends ApiTestCase {
                        $this->mergeMwGlobalArrayValue( 'wgRemoveGroups', [ 'bureaucrat' => $remove ] );
                }
 
-               $this->overrideMwServices();
+               $this->resetServices();
        }
 
        /**
@@ -221,7 +221,7 @@ class ApiUserrightsTest extends ApiTestCase {
                ChangeTags::defineTag( 'custom tag' );
 
                $this->setGroupPermissions( 'user', 'applychangetags', false );
-               $this->overrideMwServices();
+               $this->resetServices();
 
                $this->doFailedRightsChange(
                        'You do not have permission to apply change tags along with your changes.',