Skip to content

Commit

Permalink
fixed a compile error for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Sep 23, 2024
1 parent c5df620 commit 85bd45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTests/Sources/RoomScreenViewModelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class RoomScreenViewModelTests: XCTestCase {
}

func testPinnedEventsBanner() async throws {
ServiceLocator.shared.settings.pinningEnabled = true
let timelineSubject = PassthroughSubject<TimelineProxyProtocol, Never>()
let updateSubject = PassthroughSubject<JoinedRoomProxyAction, Never>()
let roomProxyMock = JoinedRoomProxyMock(.init())
Expand Down Expand Up @@ -101,7 +100,8 @@ class RoomScreenViewModelTests: XCTestCase {
}

func testPinnedEventsBannerSelection() async throws {
ServiceLocator.shared.settings.pinningEnabled = true
let timelineSubject = PassthroughSubject<TimelineProxyProtocol, Never>()
let updateSubject = PassthroughSubject<JoinedRoomProxyAction, Never>()
let roomProxyMock = JoinedRoomProxyMock(.init())
// setup a way to inject the mock of the pinned events timeline
let pinnedTimelineMock = TimelineProxyMock()
Expand Down

0 comments on commit 85bd45c

Please sign in to comment.