Fix DjVu tests isolation
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiTestCase.php
index c9184e8..3015895 100644 (file)
@@ -246,6 +246,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
                }
                $this->mwGlobals = array();
                RequestContext::resetMain();
+               MediaHandler::resetCache();
 
                $phpErrorLevel = intval( ini_get( 'error_reporting' ) );