aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test1.c')
-rw-r--r--tests/test1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test1.c b/tests/test1.c
index b9caf20475..58f5bbef27 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -51,7 +51,7 @@ main (int argc, char**argv)
camel_medium_add_header (CAMEL_MEDIUM (message), "X-test2", "the value of another test");
/*camel_mime_part_add_content_language (CAMEL_MIME_PART (message), g_string_new ("es-ca"));*/
- camel_mime_message_set_received_date (message, g_strdup ("Thu, 20 May 1999, 10:39:14 +0200"));
+ camel_mime_message_set_date (message, CAMEL_MESSAGE_DATE_CURRENT, 0);
camel_mime_message_set_subject (message, g_strdup ("A test message"));
camel_mime_message_set_reply_to (message, g_strdup ("toto@toto.com"));
camel_mime_message_set_from (message, g_strdup ("Bertrand.Guiheneuf@aful.org"));