Fix typos, naming and copywright

This commit is contained in:
langleyd
2021-07-06 19:39:15 +01:00
parent f240fbf0d2
commit 8a2425aaa7
11 changed files with 17 additions and 17 deletions
@@ -119,10 +119,10 @@ class RoomNotificationSettingsViewModelTests: XCTestCase {
viewModel.process(viewAction: .load)
XCTAssertNotNil(view.viewState)
XCTAssertTrue(view.viewState!.notificationState == .all)
viewModel.process(viewAction: .selectNotificationState(.mentionsOnly))
XCTAssertTrue(view.viewState!.notificationState == .mentionsOnly)
viewModel.process(viewAction: .selectNotificationState(.mentionsAndKeywordsOnly))
XCTAssertTrue(view.viewState!.notificationState == .mentionsAndKeywordsOnly)
viewModel.process(viewAction: .save)
XCTAssertTrue(service.notificationState == .mentionsOnly)
XCTAssertTrue(service.notificationState == .mentionsAndKeywordsOnly)
XCTAssertTrue(coordinator.didComplete)
}
@@ -135,7 +135,7 @@ class RoomNotificationSettingsViewModelTests: XCTestCase {
}
func testMentionsOnlyNotAvaileOnEncryptedRoom() throws {
service = MockRoomNotificationSettingsService(initialState: .mentionsOnly)
service = MockRoomNotificationSettingsService(initialState: .mentionsAndKeywordsOnly)
setupViewModel(roomEncrypted: true, showAvatar: false)
viewModel.process(viewAction: .load)