mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 15:26:40 +00:00
Adopt new canOwnUser* power level methods instead of the throwing ones.
This commit is contained in:
committed by
Stefan Ceriu
parent
374fb722c6
commit
c7ff6c019d
@@ -520,6 +520,7 @@ class TimelineViewModelTests: XCTestCase {
|
||||
|
||||
let powerLevelsProxyMock = RoomPowerLevelsProxyMock(configuration: .init())
|
||||
powerLevelsProxyMock.canUserPinOrUnpinUserIDReturnValue = .success(false)
|
||||
powerLevelsProxyMock.canOwnUserPinOrUnpinReturnValue = false
|
||||
roomProxyMock.powerLevelsReturnValue = .success(powerLevelsProxyMock)
|
||||
|
||||
let roomInfoProxyMock = RoomInfoProxyMock(configuration)
|
||||
|
||||
Reference in New Issue
Block a user