Make OutputPageTest more independent from global state
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 11 Jul 2014 14:35:14 +0000 (16:35 +0200)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Sat, 12 Jul 2014 14:42:51 +0000 (16:42 +0200)
commit4391b608548c5af91f1e93a49246598dbd585c56
tree49c542ad5ab1429bf3d1b23fb8179cb86598896a
parent5842d0aa075c02c300805f97a98b2f6389145f46
Make OutputPageTest more independent from global state

This does not fix all problems (the "combined" test still fails
horribly on my machine for a reason I don't understand). However,
this patch fixes at least two of the problems:

Make the test independent from the wgResourceLoaderDebug setting.

Make the test independent from the wgLanguageCode setting.

Change-Id: I3aa52fed530d852b34b6058e29620749e11092a0
tests/phpunit/includes/OutputPageTest.php