about summary refs log tree commit homepage
path: root/t/plack.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-08 10:30:42 +0000
committerEric Wong <e@80x24.org>2019-01-08 10:30:42 +0000
commit6b7b1b1624163f4fff4705e4cc341e3b7a5475fe (patch)
tree9f978e7b4b823fc3c3018eca9f8b894668609b69 /t/plack.t
parent0f0d6284b51db4e0f10b698a4461e45f2e774495 (diff)
downloadpublic-inbox-6b7b1b1624163f4fff4705e4cc341e3b7a5475fe.tar.gz
We need to parse the MIME object in order to get the
datestamp for those sites.

Fixes: 7d02b9e64455 ("view: stop storing all MIME objects on large threads")
Diffstat (limited to 't/plack.t')
-rw-r--r--t/plack.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/plack.t b/t/plack.t
index 9901186b..2ff98e98 100644
--- a/t/plack.t
+++ b/t/plack.t
@@ -46,7 +46,7 @@ To: You <you\@example.com>
 Cc: $addr
 Message-Id: <blah\@example.com>
 Subject: hihi
-Date: Thu, 01 Jan 1970 00:00:00 +0000
+Date: Fri, 02 Oct 1993 00:00:00 +0000
 
 zzzzzz
 EOF
@@ -129,6 +129,7 @@ EOF
                         'atom URL generated');
                 like($res->content, qr!href="blah\@example\.com/"!,
                         'index generated');
+                like($res->content, qr!1993-10-02!, 'date set');
         });
 
         test_psgi($app, sub {