From ced2be15b9fc0c637c2073e664c7ff1f6eeb649b Mon Sep 17 00:00:00 2001 From: uckelman Date: Thu, 16 Dec 2010 21:29:28 +0000 Subject: Added tests for In-Reply-To fix. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@7576 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/MailmanMessageTest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/MailmanMessageTest.php') diff --git a/test/MailmanMessageTest.php b/test/MailmanMessageTest.php index 5fcdbb7..16c3435 100644 --- a/test/MailmanMessageTest.php +++ b/test/MailmanMessageTest.php @@ -95,6 +95,20 @@ class MailmanMessageTest extends PHPUnit_Framework_TestCase { array() ) )), + array(array( + 'data' => file_get_contents(__DIR__ . '/195'), + 'source' => 'messages@vassalengine.org', + 'post_id' => '', + 'from' => 'Wojciech Meyer ', + 'subject' => 'Re: [messages] [Feature Requests] Re: Fix private message windows stealing focus', + 'message_id' => '<87hbezwt40.fsf@gmail.com>', + 'in_reply_to' => '<20101130000631.16061100CD@charybdis.ellipsis.cx>', + 'references' => '<1291044119.20746.2185.bridge@www.vassalengine.org> <87vd3frios.fsf@gmail.com> <20101129203806.A2B15100CD@charybdis.ellipsis.cx> <87ipzfrgwp.fsf@gmail.com> <20101129210745.5A113100CD@charybdis.ellipsis.cx> <87mxorwv05.fsf@gmail.com> <20101130000631.16061100CD@charybdis.ellipsis.cx>' + 'flattened' => array( + file_get_contents(__DIR__ . '/195_flat'), + array() + ) + )), ); } -- cgit v1.2.3