From 17eb6b87e1564fcf0015bc772cb9e4b24b491540 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 29 Aug 2012 10:42:47 +0200 Subject: [PATCH] clear magicword cache before testing cleanSig Change-Id: I89dc2173f6a27dcd16b0548b06070ac4244fd3cb --- tests/phpunit/includes/ExtraParserTest.php | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1