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
Fix DjVu tests isolation
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
MediaWikiTestCase.php
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
53b944d
..
3015895
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-245,6
+245,8
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
$GLOBALS[$key] = $value;
}
$this->mwGlobals = array();
+ RequestContext::resetMain();
+ MediaHandler::resetCache();
$phpErrorLevel = intval( ini_get( 'error_reporting' ) );