]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v1reindex.t
nntpd+imapd: detect replaced over.sqlite3
[public-inbox.git] / t / v1reindex.t
index e473fe7c3942a95f2db6dbca31b10a0d6d733243..9f23ef01e5646a7cfd9398dcd0ceb389c2b999d5 100644 (file)
@@ -3,10 +3,10 @@
 use strict;
 use warnings;
 use Test::More;
-use PublicInbox::ContentId qw(content_digest);
+use PublicInbox::ContentHash qw(content_digest);
 use File::Path qw(remove_tree);
 use PublicInbox::TestCommon;
-use PublicInbox::MIME;
+use PublicInbox::Eml;
 require_git(2.6);
 require_mods(qw(DBD::SQLite Search::Xapian));
 use_ok 'PublicInbox::SearchIdx';
@@ -18,7 +18,7 @@ my $ibx_config = {
        -primary_address => 'test@example.com',
        indexlevel => 'full',
 };
-my $mime = PublicInbox::MIME->new(<<'EOF');
+my $mime = PublicInbox::Eml->new(<<'EOF');
 From: a@example.com
 To: test@example.com
 Subject: this is a subject