mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Add support to start date
This commit is contained in:
@@ -38,6 +38,7 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
|
||||
TimelinePollDetails(question: "Do you like the active poll number \(index)?",
|
||||
answerOptions: [],
|
||||
closed: false,
|
||||
startDate: .init(),
|
||||
totalAnswerCount: 30,
|
||||
type: .disclosed,
|
||||
eventType: .started,
|
||||
@@ -51,6 +52,7 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
|
||||
TimelinePollDetails(question: "Do you like the active poll number \(index)?",
|
||||
answerOptions: [.init(id: "id", text: "Yes, of course!", count: 20, winner: true, selected: true)],
|
||||
closed: true,
|
||||
startDate: .init(),
|
||||
totalAnswerCount: 30,
|
||||
type: .disclosed,
|
||||
eventType: .started,
|
||||
|
||||
Reference in New Issue
Block a user