diff --git a/pEpObjCTests/PEPInternalSessionTest.m b/pEpObjCTests/PEPInternalSessionTest.m index fbab37d6..f770d534 100644 --- a/pEpObjCTests/PEPInternalSessionTest.m +++ b/pEpObjCTests/PEPInternalSessionTest.m @@ -652,6 +652,7 @@ msg.shortMessage = @"Mail to Myself"; msg.longMessage = @"This is a text content"; msg.direction = PEPMsgDirectionOutgoing; + msg.attachments = @[]; NSNumber *numRating = [self testOutgoingRatingForMessage:msg session:session error:&error]; XCTAssertNotNil(numRating); diff --git a/pEpObjCTests/TestUtils/PEPTestUtils.m b/pEpObjCTests/TestUtils/PEPTestUtils.m index 97ed0872..dca3ea59 100644 --- a/pEpObjCTests/TestUtils/PEPTestUtils.m +++ b/pEpObjCTests/TestUtils/PEPTestUtils.m @@ -85,6 +85,7 @@ const NSInteger PEPTestInternalSyncTimeout = 20; message.direction = outgoing ? PEPMsgDirectionOutgoing : PEPMsgDirectionIncoming; message.shortMessage = shortMessage; message.longMessage = longMessage; + message.attachments = @[]; return message; }