Merge "[FileBackend] Reduce backend sync errors a bit by aborting operations more."
authorCatrope <roan.kattouw@gmail.com>
Thu, 30 Aug 2012 17:50:55 +0000 (17:50 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 30 Aug 2012 17:50:55 +0000 (17:50 +0000)
tests/phpunit/includes/ExtraParserTest.php

index 0413b5a..903a6d2 100644 (file)
@@ -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