Fix ApiMainTest::testApiErrorFormatterCreation
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 3 Apr 2017 13:41:21 +0000 (09:41 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 3 Apr 2017 13:44:13 +0000 (09:44 -0400)
commitca61e20e3d14e6a807c13ce58897f9b9bd63b5da
tree3fc3b7e8ce9d7e049aed515ff8404bf5fded9914
parent4f33fc17012649adf6ccdf34dc6040da6040d002
Fix ApiMainTest::testApiErrorFormatterCreation

API tests are all subclasses of MediaWikiLangTestCase, which overrides
the content language when the tests are actually running. So we need to
always use 'en' to match that.

Bug: T162007
Change-Id: Ie001576fb62ae88c9141e471fd8fcbc49592be32
tests/phpunit/includes/api/ApiMainTest.php