Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent fe189fcfed
commit 23062901c0
343 changed files with 1502 additions and 1048 deletions
@@ -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])