X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_scan_all.t;h=c8cb2409985e944adef2e292e78ad03b6e68247d;hb=352956bcf1933bdaeba631deb4ade7dc7fd754b1;hp=09ed96e0477e5636beb89945f76e3160cf3d4e5f;hpb=a09f678d8254064af7ca6dcfb3c3f84b5ae37b51;p=public-inbox.git diff --git a/t/psgi_scan_all.t b/t/psgi_scan_all.t index 09ed96e0..c8cb2409 100644 --- a/t/psgi_scan_all.t +++ b/t/psgi_scan_all.t @@ -1,12 +1,13 @@ -# Copyright (C) 2019 all contributors +# Copyright (C) 2019-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; use Test::More; -use Email::MIME; +use PublicInbox::Eml; use PublicInbox::Config; use PublicInbox::TestCommon; my @mods = qw(HTTP::Request::Common Plack::Test URI::Escape DBD::SQLite); +require_git 2.6; require_mods(@mods); use_ok 'PublicInbox::V2Writable'; foreach my $mod (@mods) { use_ok $mod; } @@ -31,7 +32,7 @@ foreach my $i (1..2) { my $im = PublicInbox::V2Writable->new($ibx, 1); $im->{parallel} = 0; $im->init_inbox(0); - my $mime = PublicInbox::MIME->new(<new(<