Merge "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiParseTest.php
index 9c5268c..a87160a 100644 (file)
@@ -121,7 +121,7 @@ class ApiParseTest extends ApiTestCase {
 
                $this->setMwGlobals( 'wgExtraInterlanguageLinkPrefixes', [ 'madeuplanguage' ] );
                $this->tablesUsed[] = 'interwiki';
-               $this->overrideMwServices();
+               $this->resetServices();
        }
 
        /**
@@ -206,7 +206,6 @@ class ApiParseTest extends ApiTestCase {
 
        public function testSuppressed() {
                $this->setGroupPermissions( 'sysop', 'viewsuppressed', true );
-               $this->overrideMwServices();
 
                $res = $this->doApiRequest( [
                        'action' => 'parse',