about summary refs log tree commit homepage
path: root/t/v1-add-remove-add.t
diff options
context:
space:
mode:
Diffstat (limited to 't/v1-add-remove-add.t')
-rw-r--r--t/v1-add-remove-add.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/v1-add-remove-add.t b/t/v1-add-remove-add.t
index fdf06a96..c3a7e77f 100644
--- a/t/v1-add-remove-add.t
+++ b/t/v1-add-remove-add.t
@@ -3,10 +3,9 @@
 use strict;
 use warnings;
 use Test::More;
-use PublicInbox::MIME;
 use PublicInbox::Import;
 use PublicInbox::TestCommon;
-require_mods(qw(DBD::SQLite Search::Xapian));
+require_mods(qw(DBD::SQLite Search::Xapian Email::MIME));
 require PublicInbox::SearchIdx;
 my ($inboxdir, $for_destroy) = tmpdir();
 my $ibx = {
@@ -15,7 +14,7 @@ my $ibx = {
         -primary_address => 'test@example.com',
 };
 $ibx = PublicInbox::Inbox->new($ibx);
-my $mime = PublicInbox::MIME->create(
+my $mime = Email::MIME->create(
         header => [
                 From => 'a@example.com',
                 To => 'test@example.com',