Closed cicalese closed 4 years ago
I very much doubt not using MediaWikiTestCase
is causing any of the problems, and certainly hope so.
IMO the recommendation to extend this class by default is really poor advice. Inheritance is an extreme form of coupling. Inheriting concrete code comes with a high cost. Doing so over a component boundary only increases this cost.
The Wikimedia CI failures seem to be independent of the differences, so I've reverted the change in base class and am only retaining the changes to the unnecessary bootstrapping.
This is an attempt to get the tests to pass in Wikimedia CI (see T253321 and 597812 ). I tried to address all deviations from the suggested instructions that might be introducing problems in that environment.