mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -6,9 +6,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
@testable import ElementX
|
||||
import XCTest
|
||||
|
||||
@MainActor
|
||||
class RoomChangePermissionsScreenViewModelTests: XCTestCase {
|
||||
@@ -92,7 +91,7 @@ class RoomChangePermissionsScreenViewModelTests: XCTestCase {
|
||||
"Only the avatar setting should be applied. No other settings were changed so they should be nil to remain left alone.")
|
||||
}
|
||||
|
||||
func testSaveNoChanges() async throws {
|
||||
func testSaveNoChanges() {
|
||||
setUp(isSpace: false)
|
||||
// Given a screen with no changes.
|
||||
XCTAssertFalse(context.viewState.hasChanges)
|
||||
@@ -104,7 +103,7 @@ class RoomChangePermissionsScreenViewModelTests: XCTestCase {
|
||||
XCTAssertFalse(roomProxy.applyPowerLevelChangesCalled)
|
||||
}
|
||||
|
||||
func testDefaultStateRoom() async throws {
|
||||
func testDefaultStateRoom() {
|
||||
setUp(isSpace: false)
|
||||
XCTAssertNotNil(context.settings[.roomDetails])
|
||||
XCTAssertNotNil(context.settings[.memberModeration])
|
||||
@@ -112,7 +111,7 @@ class RoomChangePermissionsScreenViewModelTests: XCTestCase {
|
||||
XCTAssertNil(context.settings[.manageSpace])
|
||||
}
|
||||
|
||||
func testDefaultStateSpace() async throws {
|
||||
func testDefaultStateSpace() {
|
||||
setUp(isSpace: true)
|
||||
XCTAssertNotNil(context.settings[.roomDetails])
|
||||
XCTAssertNotNil(context.settings[.memberModeration])
|
||||
|
||||
Reference in New Issue
Block a user