test(healthchat): satisfy konsist presenter helper rule

Konsist requires createPresenter helpers to omit the return type.
This commit is contained in:
2026-07-31 18:00:04 +02:00
parent 1aeb4655bc
commit c7800abb0f
@@ -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,
)
}