pEpForiOSTests/Models/EmailListViewModelTest.swift
branchIOS-1758
changeset 9728 2d762ad64237
parent 9622 72920db55e0f
child 9745 3fd74ed94f56
     1.1 --- a/pEpForiOSTests/Models/EmailListViewModelTest.swift	Tue Aug 20 15:03:37 2019 +0200
     1.2 +++ b/pEpForiOSTests/Models/EmailListViewModelTest.swift	Tue Aug 20 15:37:15 2019 +0200
     1.3 @@ -298,7 +298,7 @@
     1.4          emailListVM.startMonitoring()
     1.5          let indexOfTheOneAndOnlyMsg = 0
     1.6          let vm = emailListVM.viewModel(for: indexOfTheOneAndOnlyMsg)
     1.7 -        XCTAssertEqual(vm?.message(), msg)
     1.8 +        XCTAssertEqual(vm?.message, msg)
     1.9          XCTAssertEqual(vm?.subject, msg.shortMessage)
    1.10      }
    1.11  
    1.12 @@ -329,7 +329,7 @@
    1.13              XCTFail()
    1.14              return
    1.15          }
    1.16 -        XCTAssertEqual(firstMsgVM.message(), msg)
    1.17 +        XCTAssertEqual(firstMsgVM.message, msg)
    1.18  
    1.19          // Create a message that must not be shown
    1.20          TestUtil.createMessage(inFolder: trashFolder, from: inbox.account.user)