Remove now unnecessary RoomListSummary lastMessageFormattedTimestamp

This commit is contained in:
Stefan Ceriu
2025-04-28 16:24:22 +03:00
committed by Stefan Ceriu
parent 899c33a5ad
commit 41b18cfd52
27 changed files with 46 additions and 68 deletions
@@ -29,7 +29,6 @@ class HomeScreenRoomTests: XCTestCase {
heroes: [],
lastMessage: nil,
lastMessageDate: nil,
lastMessageFormattedTimestamp: nil,
unreadMessagesCount: unreadMessagesCount,
unreadMentionsCount: unreadMentionsCount,
unreadNotificationsCount: unreadNotificationsCount,
+1 -2
View File
@@ -86,8 +86,7 @@ class LoggingTests: XCTestCase {
avatarURL: nil,
heroes: [.init(userID: "", displayName: heroName)],
lastMessage: AttributedString(lastMessage),
lastMessageDate: nil,
lastMessageFormattedTimestamp: "Now",
lastMessageDate: .mock,
unreadMessagesCount: 0,
unreadMentionsCount: 0,
unreadNotificationsCount: 0,
-1
View File
@@ -63,7 +63,6 @@ class RoomSummaryTests: XCTestCase {
heroes: heroes,
lastMessage: nil,
lastMessageDate: nil,
lastMessageFormattedTimestamp: nil,
unreadMessagesCount: 0,
unreadMentionsCount: 0,
unreadNotificationsCount: 0,