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