Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Wikibase Service Migration. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION The WikibaseRepo and WikibaseClient `Settings` service wiring currently uses (indirectly) `ExtensionRegistry::getInstance()->isLoaded( … )`, which can’t be mocked or injected; consequently, when the tests for those service wirings are run as proper unit tests, without MediaWiki set up, they fail, because the WikibaseRepo and WikibaseClient extensions haven’t been loaded. A solution for this almost certainly requires T257586: ExtensionRegistry is difficult to use as a singleton <https://phabricator.wikimedia.org/T257586>. TASK DETAIL https://phabricator.wikimedia.org/T281691 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
