Fix WikitextContentHandlerTest::testMakeRedirectContent() when content language is...
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 12 Nov 2013 12:57:13 +0000 (13:57 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 12 Nov 2013 12:57:13 +0000 (13:57 +0100)
commit0925e2e8e43b9ee81a5f056cfe0d1ab1517a39d8
tree3cf489346ab87b45075a885b7db18f1358ff8ee1
parent454b21318deced7e26fb7b1e0efa9b2e45800034
Fix WikitextContentHandlerTest::testMakeRedirectContent() when content language is not english

Clear the MagicWord object cache, otherwise the magic word names can be cached
in the wrong language, thus making the test fail.

Change-Id: Ia6da94ca2c4f9ca892c81b4aa7cf96108b42ccd5
tests/phpunit/includes/content/WikitextContentHandlerTest.php