fix detekt + add objectId in tests

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-04-14 15:04:20 +02:00 committed by Marcel Hibbe
parent 40ffa582e3
commit d2bb9b6223
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
3 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,7 @@ class ChatBlocksDaoTest {
lobbyState = ConversationEnums.LobbyState.LOBBY_STATE_MODERATORS_ONLY,
lobbyTimer = 0,
objectType = ConversationEnums.ObjectType.FILE,
objectId = "",
statusIcon = null,
description = "",
displayName = "",

View File

@ -211,6 +211,7 @@ class ChatMessagesDaoTest {
lobbyState = ConversationEnums.LobbyState.LOBBY_STATE_MODERATORS_ONLY,
lobbyTimer = 0,
objectType = ConversationEnums.ObjectType.FILE,
objectId = "",
statusIcon = null,
description = "",
displayName = "",

View File

@ -67,6 +67,7 @@ class ConversationModel(
) {
companion object {
@Suppress("LongMethod")
fun mapToConversationModel(conversation: Conversation, user: User): ConversationModel {
return ConversationModel(
internalId = user.id!!.toString() + "@" + conversation.token,