mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix unit tests.
This commit is contained in:
@@ -210,8 +210,6 @@ struct TimelineInteractionHandlerTests {
|
||||
let userSession = UserSessionMock(.init())
|
||||
userSession.voiceMessageMediaManager = voiceMessageMediaManager
|
||||
|
||||
let appSettings = AppSettings.volatile()
|
||||
|
||||
return TimelineInteractionHandler(roomProxy: JoinedRoomProxyMock(.init()),
|
||||
timelineController: TimelineControllerMock(.init(timelineItems: timelineItems)),
|
||||
userSession: userSession,
|
||||
@@ -219,9 +217,8 @@ struct TimelineInteractionHandlerTests {
|
||||
voiceMessageRecorder: voiceMessageRecorder,
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
appMediator: AppMediatorMock(.init()),
|
||||
appSettings: appSettings,
|
||||
analyticsService: AnalyticsServiceMock(.init()),
|
||||
emojiProvider: EmojiProvider(appSettings: appSettings),
|
||||
emojiProvider: EmojiProvider(userSettings: .volatile()),
|
||||
linkMetadataProvider: LinkMetadataProvider(),
|
||||
timelineControllerFactory: TimelineControllerFactoryMock(.init()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user