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
committed by Sedat Qaja
parent 8f82e578f4
commit 21444b45e7
@@ -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,
) )
}
} }