MediaWiki
1.33.0
|
Common code for test environment initialisation and teardown. More...
Static Public Member Functions | |
static | applyInitialConfig () |
This should be called before Setup.php, e.g. More... | |
Common code for test environment initialisation and teardown.
Definition at line 6 of file TestSetup.php.
|
static |
This should be called before Setup.php, e.g.
from the finalSetup() method of a Maintenance subclass
Definition at line 11 of file TestSetup.php.
References $wgAuthManagerConfig, $wgDevelopmentWarnings, $wgJobTypeConf, $wgLanguageConverterCacheType, $wgLocalisationCacheConf, $wgLocaltimezone, $wgMainStash, $wgMainWANCache, $wgMessageCacheType, $wgParserCacheType, $wgSearchType, $wgSessionCacheType, $wgSessionPbkdf2Iterations, $wgSessionProviders, $wgUseDatabaseMessages, CACHE_NONE, class, Hooks\clear(), future, and Hooks\register().
Referenced by ParserFuzzTest\finalSetup(), ParserEditTests\finalSetup(), PHPUnitMaintClass\finalSetup(), and ParserTestsMaintenance\finalSetup().