X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fcgi.t;h=d1f971504efb43aaf26b2681087278f57460e5f4;hp=42a343d3040f06303fb42a09cce5c22f6b07f65a;hb=0283273a14e1871955f6a9132f4f3f7884ec8a3f;hpb=fd966061df6a61104935984bed7c28a461a124ff diff --git a/t/cgi.t b/t/cgi.t index 42a343d3..d1f97150 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -5,7 +5,7 @@ use strict; use warnings; use Test::More; -use PublicInbox::MIME; +use PublicInbox::Eml; use PublicInbox::TestCommon; use PublicInbox::Import; require_mods(qw(Plack::Handler::CGI Plack::Util)); @@ -45,7 +45,7 @@ my $im = PublicInbox::InboxWritable->new($ibx)->importer; local $ENV{HOME} = $home; # inject some messages: - my $mime = PublicInbox::MIME->new(<new(< To: You Cc: $addr @@ -62,7 +62,7 @@ EOF ok($im->add($mime), 'added big message'); # deliver a reply, too - $mime = PublicInbox::MIME->new(<new(< To: Me Cc: $addr @@ -79,7 +79,7 @@ EOF ok($im->add($mime), 'added reply'); my $slashy_mid = 'slashy/asdf@example.com'; - my $slashy = PublicInbox::MIME->new(<new(< To: Me Cc: $addr