mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-11 17:02:28 +00:00
Merge "Stop using setMwGlobals in tests"
This commit is contained in:
commit
d51585e02f
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue