From 1f1e77473d2976ff93ca1b833d95d91449612d30 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 5 Feb 2024 18:06:02 +0200 Subject: [PATCH] Fix unit tests --- UnitTests/Sources/LoggingTests.swift | 1 + UnitTests/Sources/RoomScreenViewModelTests.swift | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests/Sources/LoggingTests.swift b/UnitTests/Sources/LoggingTests.swift index 8fd73d5359..bb53b19e2c 100644 --- a/UnitTests/Sources/LoggingTests.swift +++ b/UnitTests/Sources/LoggingTests.swift @@ -229,6 +229,7 @@ class LoggingTests: XCTestCase { avatarURL: nil, lastMessage: AttributedString(lastMessage), lastMessageFormattedTimestamp: "Now", + isMarkedUnread: false, unreadMessagesCount: 0, unreadMentionsCount: 0, unreadNotificationsCount: 0, diff --git a/UnitTests/Sources/RoomScreenViewModelTests.swift b/UnitTests/Sources/RoomScreenViewModelTests.swift index 28965f49b8..f6e94e7792 100644 --- a/UnitTests/Sources/RoomScreenViewModelTests.swift +++ b/UnitTests/Sources/RoomScreenViewModelTests.swift @@ -579,7 +579,6 @@ class RoomScreenViewModelTests: XCTestCase { timelineProxy.sendReadReceiptForTypeReturnValue = .success(()) - roomProxy.underlyingHasUnreadNotifications = true timelineController.timelineItems = items timelineController.roomProxy = roomProxy