pEpForiOSTests/Models/Settings/AccountSettingsViewModelTest.swift
branchIOS-1740
changeset 9729 5d894b1a599f
parent 9725 efdbdfc23000
child 9940 463f4850b59c
equal deleted inserted replaced
9726:28adceb916e6 9729:5d894b1a599f
   174         XCTAssertEqual(actualPassword, correctPwd)
   174         XCTAssertEqual(actualPassword, correctPwd)
   175     }
   175     }
   176 
   176 
   177 
   177 
   178     private func setUpViewModel() {
   178     private func setUpViewModel() {
   179         let inbox = CdFolder(context: moc)
       
   180         inbox.account = account.cdObject
       
   181         inbox.folderType = .inbox
       
   182         inbox.name = ImapSync.defaultImapInboxName
       
   183         moc.saveAndLogErrors()
       
   184 
   179 
   185         keySyncServiceHandshakeDelegateMoc = KeySyncServiceHandshakeDelegateMoc()
   180         keySyncServiceHandshakeDelegateMoc = KeySyncServiceHandshakeDelegateMoc()
   186         let theMessageModelService = MessageModelService(
   181         let theMessageModelService = MessageModelService(
   187             errorPropagator: ErrorPropagator(),
   182             errorPropagator: ErrorPropagator(),
   188             keySyncServiceDelegate: keySyncServiceHandshakeDelegateMoc, keySyncEnabled: false)
   183             keySyncServiceDelegate: keySyncServiceHandshakeDelegateMoc, keySyncEnabled: false)