mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Improve tests
This commit is contained in:
@@ -33,9 +33,9 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
var fetchState: Bool = false
|
||||
var isLoadingPublisher: AnyPublisher = Just(false).eraseToAnyPublisher()
|
||||
var isFetching: AnyPublisher<Bool, Never> {
|
||||
Just(fetchState).eraseToAnyPublisher()
|
||||
isLoadingPublisher
|
||||
}
|
||||
|
||||
var activePollsData: [TimelinePollDetails] = (1..<10)
|
||||
|
||||
Reference in New Issue
Block a user