X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fv1-add-remove-add.t;h=c3a7e77f18b75607801fd1a8e9de875c942c60b7;hp=fdf06a96e764dc98c828dc4aef33da0de0a75ea7;hb=62d1a4da996bd9a664be954f71f78fe052f9df16;hpb=4bd22e9528484c5d964ecba277fd6a7d5e023461 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',