]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
t/*.t: reduce dependency on Email::MIME APIs
[public-inbox.git] / t / plack.t
index ea31879285fd6d89268677a6eb6941c11fffc6e7..b16bc8de9cd2bbae4d5c73cbcd9d77c98c694fbe 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -32,7 +32,7 @@ my $git = PublicInbox::Git->new($inboxdir);
 my $im = PublicInbox::Import->new($git, 'test', $addr);
 # ensure successful message delivery
 {
-       my $mime = Email::MIME->new(<<EOF);
+       my $mime = PublicInbox::MIME->new(<<EOF);
 From: Me <me\@example.com>
 To: You <you\@example.com>
 Cc: $addr
@@ -124,7 +124,7 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000
 :(
 EOF
        $crlf =~ s/\n/\r\n/sg;
-       $im->add(Email::MIME->new($crlf));
+       $im->add(PublicInbox::MIME->new($crlf));
 
        $im->done;
 }