Merge "Stop using setMwGlobals in tests"

This commit is contained in:
jenkins-bot 2024-07-09 15:16:08 +00:00 committed by Gerrit Code Review
commit d51585e02f
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ class ThreadItemStoreTest extends IntegrationTestCase {
'otherwise they would fail due to a MySQL bug with temporary tables (T256006)' );
}
if ( ExtensionRegistry::getInstance()->isLoaded( 'Liquid Threads' ) ) {
$this->setMwGlobals( 'wgLqtTalkPages', false );
$this->overrideConfigValue( 'LqtTalkPages', false );
}
}

View file

@ -16,7 +16,7 @@ class ApiParseDiscussionToolsTest extends ApiTestCase {
*/
public function testApiParseSections() {
if ( ExtensionRegistry::getInstance()->isLoaded( 'Liquid Threads' ) ) {
$this->setMwGlobals( 'wgLqtTalkPages', false );
$this->overrideConfigValue( 'LqtTalkPages', false );
}
$params = [