dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "mediawiki.page.gallery.resize: Remove weird mw.hook call"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
MediaWikiTestCase.php
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
53b944d
..
c9184e8
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-245,6
+245,7
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
$GLOBALS[$key] = $value;
}
$this->mwGlobals = array();
+ RequestContext::resetMain();
$phpErrorLevel = intval( ini_get( 'error_reporting' ) );