mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Switch to using proper SDK Mocks everywhere.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user