aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-all.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-all.mm b/tests/test-all.mm
index 2201d6d5..d4b00762 100644
--- a/tests/test-all.mm
+++ b/tests/test-all.mm
@@ -53,6 +53,7 @@ static mailcore::Data * testMessageBuilder()
bcc->addObject(mailcore::Address::addressWithDisplayName(MCSTR("Hidden Recipient"), MCSTR("foobar@bcc-recipient.org")));
msg->header()->setTo(to);
msg->header()->setBcc(bcc);
+ msg->header()->addHeader(MCSTR("X-Custom-Header"), MCSTR("Custom Header Value"));
to->release();
bcc->release();
msg->header()->setSubject(MCSTR("Mon projet d'été"));