IOSAD-12 Trigger empty attachments check in tests

IOSAD-12
Dirk Zimmermann 2 years ago
parent 017b462e20
commit 312128f238

@ -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);

@ -85,6 +85,7 @@ const NSInteger PEPTestInternalSyncTimeout = 20;
message.direction = outgoing ? PEPMsgDirectionOutgoing : PEPMsgDirectionIncoming;
message.shortMessage = shortMessage;
message.longMessage = longMessage;
message.attachments = @[];
return message;
}

Loading…
Cancel
Save