Various test fixes (#873)

* Switch back to macos-12 and see if the tests work

* Fix unit tests, add default invited, joined and active member counts to the mock room proxy

* Try running UI tests on 14.3 but on an existing iPad simulator

* Revert "Try running UI tests on 14.3 but on an existing iPad simulator"

This reverts commit b075e7fa384330a9070dc35ed4dded57e0af26e1.
This commit is contained in:
Stefan Ceriu
2023-05-11 16:28:35 +03:00
committed by GitHub
parent 16eb3311f0
commit 3468ed2a02
8 changed files with 28 additions and 21 deletions
@@ -441,16 +441,16 @@ class RoomProxy: RoomProxyProtocol {
}
}
var invitedMembersCount: UInt64 {
room.invitedMembersCount()
var invitedMembersCount: UInt {
UInt(room.invitedMembersCount())
}
var joinedMembersCount: UInt64 {
room.joinedMembersCount()
var joinedMembersCount: UInt {
UInt(room.joinedMembersCount())
}
var activeMembersCount: UInt64 {
room.activeMembersCount()
var activeMembersCount: UInt {
UInt(room.activeMembersCount())
}
// MARK: - Private
@@ -105,11 +105,11 @@ protocol RoomProxyProtocol {
func fetchDetails(for eventID: String)
var invitedMembersCount: UInt64 { get }
var invitedMembersCount: UInt { get }
var joinedMembersCount: UInt64 { get }
var joinedMembersCount: UInt { get }
var activeMembersCount: UInt64 { get }
var activeMembersCount: UInt { get }
}
extension RoomProxyProtocol {