IOS-1823- fix test IOS-1823
authorMartin Brude
Wed, 05 Feb 2020 11:53:12 +0100
branchIOS-1823
changeset 116687f2824d831eb
parent 11666 b5b25ca997b4
child 11670 4f013cbb0114
IOS-1823- fix test
pEpForiOSTests/HandshakeViewModelTest.swift
     1.1 --- a/pEpForiOSTests/HandshakeViewModelTest.swift	Wed Feb 05 09:52:49 2020 +0100
     1.2 +++ b/pEpForiOSTests/HandshakeViewModelTest.swift	Wed Feb 05 11:53:12 2020 +0100
     1.3 @@ -173,7 +173,7 @@
     1.4          let firstItemPosition = IndexPath(item: 0, section: 0)
     1.5          let handshakeMock = HandshakeUtilMock(getTrustwordsExpectation: getTWExp)
     1.6          handshakeViewModel?.handshakeUtil = handshakeMock
     1.7 -        let trustwords = handshakeViewModel?.generateTrustwords(indexPath: firstItemPosition)
     1.8 +        let trustwords = handshakeViewModel?.generateTrustwords(forRowAt: firstItemPosition)
     1.9          XCTAssertEqual(trustwords, HandshakeUtilMock.someTrustWords)
    1.10          let identity = identities[firstItemPosition.row]
    1.11          XCTAssertEqual(identity, handshakeMock.identity)