X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fcgi.t;h=42a343d3040f06303fb42a09cce5c22f6b07f65a;hp=bceb83e57de42608c7e3ad9400afc512af03cbec;hb=e6b7a7f5f70fb89a54ff158bc6c8b564149947e5;hpb=62d1a4da996bd9a664be954f71f78fe052f9df16 diff --git a/t/cgi.t b/t/cgi.t index bceb83e5..42a343d3 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -5,7 +5,7 @@ use strict; use warnings; use Test::More; -use Email::MIME; +use PublicInbox::MIME; 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 = Email::MIME->new(<new(< To: You Cc: $addr @@ -62,7 +62,7 @@ EOF ok($im->add($mime), 'added big message'); # deliver a reply, too - $mime = Email::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 = Email::MIME->new(<new(< To: Me Cc: $addr