mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Preview Tests (#1768)
* preview testing * removed some views that are not really testabl in UnitTests and improved other tests
This commit is contained in:
@@ -26,7 +26,7 @@ extension AggregatedReaction {
|
||||
private static func mockReaction(key: String, senderIDs: [String]) -> AggregatedReaction {
|
||||
let senders = senderIDs
|
||||
.map { id in
|
||||
ReactionSender(senderID: id, timestamp: Date())
|
||||
ReactionSender(senderID: id, timestamp: Date(timeIntervalSinceReferenceDate: 0))
|
||||
}
|
||||
return AggregatedReaction(accountOwnerID: alice, key: key, senders: senders)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user