Clear process cache in parser tests

Have the parser test set-up code call WANObjectCache::clearProcessCache().
d1c4eafef5 added this to the PHPUnit test set-up code, but not the parser
tests'.

Change-Id: I870c8bae0336afc499224e4c937c6b8d6ab4d457
This commit is contained in:
Ori Livneh 2016-03-25 13:57:28 -07:00 committed by Ori.livneh
parent 2c0625ed9e
commit 082ed03c88

View file

@ -619,6 +619,7 @@ class ParserTest {
$titleText = 'Parser test';
}
ObjectCache::getMainWANInstance()->clearProcessCache();
$local = isset( $opts['local'] );
$preprocessor = isset( $opts['preprocessor'] ) ? $opts['preprocessor'] : null;
$parser = $this->getParser( $preprocessor );