diff --git a/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/message/GetSenderNameByMessageIdUseCaseTest.kt b/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/message/GetSenderNameByMessageIdUseCaseTest.kt index 37999004c0..137dd1839f 100644 --- a/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/message/GetSenderNameByMessageIdUseCaseTest.kt +++ b/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/message/GetSenderNameByMessageIdUseCaseTest.kt @@ -49,7 +49,7 @@ class GetSenderNameByMessageIdUseCaseTest { getSenderNameByMessageId(CONVERSATION_ID, MESSAGE_ID) coVerify { - arrangement.messageRepository.getMessageById(CONVERSATION_ID, MESSAGE_ID) + arrangement.messageRepository.getSenderNameByMessageId(CONVERSATION_ID, MESSAGE_ID) }.wasInvoked(exactly = once) }