mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fix a couple of warnings
This commit is contained in:
committed by
Stefan Ceriu
parent
c18b4b4f70
commit
37ee5c9c7e
@@ -86,9 +86,9 @@ class SpaceAddRoomsScreenViewModelTests: XCTestCase {
|
||||
|
||||
// Then the screen should be updated to only show the rooms that still need to be added.
|
||||
XCTAssertEqual(spaceServiceProxy.addChildToCallsCount, 3, "The remaining calls to the service should stop after a failure.")
|
||||
XCTAssertFalse(context.viewState.selectedRooms.contains(where: { successfulIDs.contains($0.id) }),
|
||||
XCTAssertFalse(context.viewState.selectedRooms.contains { successfulIDs.contains($0.id) },
|
||||
"The added rooms should no longer show as selected.")
|
||||
XCTAssertFalse(context.viewState.roomsSection.rooms.contains(where: { successfulIDs.contains($0.id) }),
|
||||
XCTAssertFalse(context.viewState.roomsSection.rooms.contains { successfulIDs.contains($0.id) },
|
||||
"The added rooms should no longer be listed for selection.")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user