Commit graph

3 commits

Author SHA1 Message Date
Max Semenik
1e680456b4 Get rid of call_user_func(_array)(), part 3
Also cleaned up nearby code in a couple places.

Change-Id: Ibf44ee7c0ceb739d7e79406e4ff39303c316e285
2018-06-10 02:21:24 +00:00
Lucas Werkmeister
21e74cf5dc Fix MockMessageLocalizer
Add it to the autoloader for the tests, and remove the unneeded use
statements which cause test failures.

Change-Id: I7092525eae440c6969fc84e8979572957733cf03
2018-03-29 12:32:00 +02:00
Lucas Werkmeister
b216f4e071 Add MockMessageLocalizer
This MessageLocalizer may be used in tests. By default, it sets the
language for all messages to 'qqx', to make the tests independent of the
$wgLanguageCode of the wiki the tests are running in.

Change-Id: I7412ec49b6c0fab8146e09bb8aa599b35d88fc97
2018-03-28 13:00:27 +02:00