Switch to using proper SDK Mocks everywhere.

This commit is contained in:
Stefan Ceriu
2026-06-03 11:49:36 +03:00
parent d2f1e5caed
commit 9615e184ad
11 changed files with 23 additions and 14 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
@testable import ElementX
import Foundation
import MatrixRustSDKMocks
import Testing
struct RoomSummaryTests {
@@ -95,7 +96,7 @@ struct RoomSummaryTests {
// MARK: - Helpers
func makeSummary(isDirect: Bool, isSpace: Bool, hasRoomAvatar: Bool, isTombstoned: Bool) -> RoomSummary {
RoomSummary(room: .init(noHandle: .init()),
RoomSummary(room: RoomSDKMock(),
id: roomDetails.id,
joinRequestType: nil,
name: roomDetails.name,