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:
parent
2c0625ed9e
commit
082ed03c88
1 changed files with 1 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue