wiki.techinc.nl/tests/phpunit/suites
Timo Tijhof 60e4f3fd90 tests: Ensure main RequestContext reflects custom $wgLang
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
2016-03-03 01:39:51 +00:00
..
ExtensionsParserTestSuite.php
ExtensionsTestSuite.php
LessTestSuite.php
UploadFromUrlTestSuite.php tests: Ensure main RequestContext reflects custom $wgLang 2016-03-03 01:39:51 +00:00