Call RequestContext::resetMain() so that any subsequent call to getMain() and getLanguage() is aware of the latest state as set up by the setUp() and setupGlobals() methods. The MediaWikiTestCase class for PHPUnit did this already, but the parserTest suite and UploadFromUrlTestSuite didn't yet. Change-Id: I6481176228944004091078704d0346c8f3fc0cf1 |
||
|---|---|---|
| .. | ||
| ExtensionsParserTestSuite.php | ||
| ExtensionsTestSuite.php | ||
| LessTestSuite.php | ||
| UploadFromUrlTestSuite.php | ||