X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fv1reindex.t;h=ce3833be35696a8d325bf28540a4f2644870ee7e;hp=378c8efb469baa852f34e7b58eef1be67424237e;hb=62d1a4da996bd9a664be954f71f78fe052f9df16;hpb=4bd22e9528484c5d964ecba277fd6a7d5e023461 diff --git a/t/v1reindex.t b/t/v1reindex.t index 378c8efb..ce3833be 100644 --- a/t/v1reindex.t +++ b/t/v1reindex.t @@ -3,12 +3,11 @@ use strict; use warnings; use Test::More; -use PublicInbox::MIME; use PublicInbox::ContentId qw(content_digest); use File::Path qw(remove_tree); use PublicInbox::TestCommon; require_git(2.6); -require_mods(qw(DBD::SQLite Search::Xapian)); +require_mods(qw(DBD::SQLite Search::Xapian Email::MIME)); use_ok 'PublicInbox::SearchIdx'; use_ok 'PublicInbox::Import'; my ($inboxdir, $for_destroy) = tmpdir(); @@ -18,7 +17,7 @@ my $ibx_config = { -primary_address => 'test@example.com', indexlevel => 'full', }; -my $mime = PublicInbox::MIME->create( +my $mime = Email::MIME->create( header => [ From => 'a@example.com', To => 'test@example.com',