diff --git a/features/healthchat/impl/src/test/kotlin/io/element/android/features/healthchat/impl/profile/section/HealthChatProfileSectionPresenterTest.kt b/features/healthchat/impl/src/test/kotlin/io/element/android/features/healthchat/impl/profile/section/HealthChatProfileSectionPresenterTest.kt index 0fca5457d5..18106eae29 100644 --- a/features/healthchat/impl/src/test/kotlin/io/element/android/features/healthchat/impl/profile/section/HealthChatProfileSectionPresenterTest.kt +++ b/features/healthchat/impl/src/test/kotlin/io/element/android/features/healthchat/impl/profile/section/HealthChatProfileSectionPresenterTest.kt @@ -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, + ) }