mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Make the AnalyticsServiceMock default a variable as well, for consistency.
This commit is contained in:
@@ -23,7 +23,7 @@ struct UserProfileScreenViewModelTests {
|
||||
isPresentedModally: false,
|
||||
userSession: UserSessionMock(.init(clientProxy: clientProxy)),
|
||||
userIndicatorController: userIndicatorController,
|
||||
analytics: AnalyticsServiceMock.default(),
|
||||
analytics: AnalyticsServiceMock.default,
|
||||
appSettings: AppSettings())
|
||||
let context = viewModel.context
|
||||
|
||||
@@ -47,7 +47,7 @@ struct UserProfileScreenViewModelTests {
|
||||
isPresentedModally: false,
|
||||
userSession: UserSessionMock(.init(clientProxy: clientProxy)),
|
||||
userIndicatorController: userIndicatorController,
|
||||
analytics: AnalyticsServiceMock.default(),
|
||||
analytics: AnalyticsServiceMock.default,
|
||||
appSettings: AppSettings())
|
||||
let context = viewModel.context
|
||||
|
||||
@@ -73,7 +73,7 @@ struct UserProfileScreenViewModelTests {
|
||||
isPresentedModally: false,
|
||||
userSession: UserSessionMock(.init(clientProxy: clientProxy)),
|
||||
userIndicatorController: userIndicatorController,
|
||||
analytics: AnalyticsServiceMock.default(),
|
||||
analytics: AnalyticsServiceMock.default,
|
||||
appSettings: AppSettings())
|
||||
|
||||
let context = viewModel.context
|
||||
|
||||
Reference in New Issue
Block a user