Remove the BugReportService from the ServiceLocator.

It is directly injected everywhere now.
This commit is contained in:
Doug
2025-08-27 16:13:39 +01:00
committed by Doug
parent cb7d11fd13
commit b34816e159
5 changed files with 14 additions and 21 deletions
@@ -21,7 +21,6 @@ class UnitTestsAppCoordinator: AppCoordinatorProtocol {
AppSettings.configureWithSuiteName("io.element.elementx.unittests")
AppSettings.resetAllSettings()
ServiceLocator.shared.register(appSettings: AppSettings())
ServiceLocator.shared.register(bugReportService: BugReportServiceMock(.init()))
let analyticsClient = AnalyticsClientMock()
analyticsClient.isRunning = false