summaryrefslogtreecommitdiff
path: root/test/MailmanMessageTest.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-12-16 21:29:28 +0000
committeruckelman <uckelman@nomic.net>2010-12-16 21:29:28 +0000
commitced2be15b9fc0c637c2073e664c7ff1f6eeb649b (patch)
tree713d803e1374d46fb5627ef9590d08b1578ffdb2 /test/MailmanMessageTest.php
parentab59861576dc2e9f94f305c485d0db71e78ecb48 (diff)
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
Diffstat (limited to 'test/MailmanMessageTest.php')
-rw-r--r--test/MailmanMessageTest.php14
1 files changed, 14 insertions, 0 deletions
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 <wojciech.meyer@googlemail.com>',
+ '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()
+ )
+ )),
);
}