MediaWiki
1.28.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 8 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 13 of file TestSetup.php.
References $wgLanguageConverterCacheType, $wgLocalisationCacheConf, $wgLocaltimezone, $wgMainStash, $wgMainWANCache, $wgMessageCacheType, $wgParserCacheType, $wgSessionCacheType, $wgSessionPbkdf2Iterations, $wgUseDatabaseMessages, CACHE_NONE, class, Hooks\clear(), future, global, and Hooks\register().
Referenced by ParserFuzzTest\finalSetup(), PHPUnitMaintClass\finalSetup(), and ParserTestsMaintenance\finalSetup().