mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
test(healthchat): satisfy konsist presenter helper rule
Konsist requires createPresenter helpers to omit the return type.
This commit is contained in:
+1
-3
@@ -118,12 +118,10 @@ class HealthChatProfileSectionPresenterTest {
|
|||||||
userId: UserId = A_USER_ID,
|
userId: UserId = A_USER_ID,
|
||||||
directoryService: HealthChatDirectoryService = FakeHealthChatDirectoryService(),
|
directoryService: HealthChatDirectoryService = FakeHealthChatDirectoryService(),
|
||||||
profileRepository: HealthChatProfileRepository = FakeHealthChatProfileRepository(),
|
profileRepository: HealthChatProfileRepository = FakeHealthChatProfileRepository(),
|
||||||
): HealthChatProfileSectionPresenter {
|
) = HealthChatProfileSectionPresenter(
|
||||||
return HealthChatProfileSectionPresenter(
|
|
||||||
userId = userId,
|
userId = userId,
|
||||||
isCurrentUser = isCurrentUser,
|
isCurrentUser = isCurrentUser,
|
||||||
directoryService = directoryService,
|
directoryService = directoryService,
|
||||||
profileRepository = profileRepository,
|
profileRepository = profileRepository,
|
||||||
)
|
)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user