Make the AnalyticsServiceMock default a variable as well, for consistency.

This commit is contained in:
Stefan Ceriu
2026-05-20 20:13:15 +03:00
parent 13128d9869
commit ab82068740
63 changed files with 129 additions and 129 deletions
@@ -179,7 +179,7 @@ struct PollFormScreenViewModelTests {
private mutating func setupViewModel(mode: PollFormMode = .new) {
viewModel = PollFormScreenViewModel(mode: mode,
timelineController: MockTimelineController(timelineProxy: timelineProxy),
analytics: AnalyticsServiceMock.default(),
analytics: AnalyticsServiceMock.default,
userIndicatorController: UserIndicatorControllerMock())
}
}