pEpForiOSTests/Models/Settings/AccountSettingsViewModelTest.swift
branchIOS-1542
changeset 8381 907e287ead66
parent 8368 94cad6139b72
child 8384 9404686a5d53
equal deleted inserted replaced
8380:fd237aaceec6 8381:907e287ead66
   131 
   131 
   132         let delegate = AccountVerificationResultDelegateMock()
   132         let delegate = AccountVerificationResultDelegateMock()
   133         delegate.expectationDidVerifyCalled = verifyExpectation
   133         delegate.expectationDidVerifyCalled = verifyExpectation
   134         viewModel.delegate = delegate
   134         viewModel.delegate = delegate
   135 
   135 
   136         viewModel.verified(account: account,
   136         viewModel.didEndVerification(result: .success(()))
   137                            service: AccountVerificationService(),
       
   138                            result: .ok)
       
   139 
   137 
   140         waitForExpectations(timeout: UnitTestUtils.waitTime)
   138         waitForExpectations(timeout: UnitTestUtils.waitTime)
   141     }
   139     }
   142 
   140 
   143 
   141