fixes: build error
authorbuff <andreas@pep-project.org>
Fri, 07 Jun 2019 15:05:31 +0200
changeset 89667e88f3d23d86
parent 8965 0c001040c45c
child 8968 d4c60d2954e2
child 9031 7ec252b3f911
fixes: build error
pEpForiOSTests/Models/SetOwnKeyViewModelTests.swift
     1.1 --- a/pEpForiOSTests/Models/SetOwnKeyViewModelTests.swift	Fri Jun 07 13:20:04 2019 +0200
     1.2 +++ b/pEpForiOSTests/Models/SetOwnKeyViewModelTests.swift	Fri Jun 07 15:05:31 2019 +0200
     1.3 @@ -127,10 +127,7 @@
     1.4          let attachments = theCdMessage.attachments?.array as? [CdAttachment] ?? []
     1.5          XCTAssertEqual(attachments.count, 0)
     1.6  
     1.7 -        guard let msg = MessageModelObjectUtils.getMessage(fromCdMessage: theCdMessage) else {
     1.8 -            XCTFail()
     1.9 -            return
    1.10 -        }
    1.11 +        let msg = MessageModelObjectUtils.getMessage(fromCdMessage: theCdMessage)
    1.12  
    1.13          XCTAssertEqual(msg.attachments.count, 0)
    1.14