From: daniel Date: Wed, 29 Aug 2012 08:42:47 +0000 (+0200) Subject: clear magicword cache before testing cleanSig X-Git-Tag: 1.31.0-rc.0~22097^2^2~39 X-Git-Url: http://git.cyclocoop.org//%22%22._DIR_PLUGIN_FULLCALENDAR.%22prive/themes/spip/images/event_edit.png/%22?a=commitdiff_plain;h=17eb6b87e1564fcf0015bc772cb9e4b24b491540;p=lhc%2Fweb%2Fwiklou.git clear magicword cache before testing cleanSig Change-Id: I89dc2173f6a27dcd16b0548b06070ac4244fd3cb --- diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index 0413b5a2e6..903a6d2593 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -21,6 +21,8 @@ class ExtraParserTest extends MediaWikiTestCase { $this->options = new ParserOptions; $this->options->setTemplateCallback( array( __CLASS__, 'statelessFetchTemplate' ) ); $this->parser = new Parser; + + MagicWord::clearCache(); } // Bug 8689 - Long numeric lines kill the parser