Save and restore $wgHooks in NewParserTest.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 20 Feb 2011 00:13:26 +0000 (00:13 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 20 Feb 2011 00:13:26 +0000 (00:13 +0000)
commitbee16714e0cca1b51edf4c3ddd7574435511f1b0
tree2254ef7ce74b24bda12ec9b4afcbc6242d3e6d17
parent3a24e09b1f07b72bd5c71510ad8ed0a30a59465f
Save and restore $wgHooks in NewParserTest.
ParserGetVariableValueTs hook still being set to ParserTest::getFakeTimestamp was the reason for the crazy failures of MagicVariableTest inside phpunit that I was seeing.
tests/phpunit/includes/parser/NewParserTest.php