Use ParserOptions::newFromUserAndLang in tests
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 14 Oct 2012 19:34:26 +0000 (21:34 +0200)
committerAntoine Musso <hashar@free.fr>
Wed, 24 Oct 2012 13:59:30 +0000 (15:59 +0200)
commitdcb6ad0097612b537990c76393fa2c3f48c69aa3
treead437ba95850715c0647fb1ab60479e01e640cdd
parent1fc39609eb8e2eee31fdd49c7bb084557622f61e
Use ParserOptions::newFromUserAndLang in tests

This avoids using $wgUser and $wgLang for the ParserOption, which is not
needed in the tests

Change-Id: Iea07e9a0f0898ec5f8eb98a40000f5d33b279c9e
tests/phpunit/includes/ExtraParserTest.php
tests/phpunit/includes/WikiPageTest.php
tests/phpunit/includes/parser/MagicVariableTest.php
tests/phpunit/includes/parser/ParserPreloadTest.php
tests/phpunit/includes/parser/PreprocessorTest.php
tests/phpunit/includes/parser/TagHooksTest.php