X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_mount.t;h=b4de827406b70a62c279454e73e882e617d9ec32;hb=6e2da35b9e9e5510e3156b07e91ebc835146758c;hp=8cac3502310c75a78930bdb910e2286f39faed14;hpb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;p=public-inbox.git diff --git a/t/psgi_mount.t b/t/psgi_mount.t index 8cac3502..b4de8274 100644 --- a/t/psgi_mount.t +++ b/t/psgi_mount.t @@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -use Email::MIME; +use PublicInbox::Eml; use PublicInbox::TestCommon; my ($tmpdir, $for_destroy) = tmpdir(); my $maindir = "$tmpdir/main.git"; @@ -21,11 +21,11 @@ my $config = PublicInbox::Config->new(\<new($maindir); my $im = PublicInbox::Import->new($git, 'test', $addr); +$im->init_bare; { - my $mime = Email::MIME->new(<new(< To: You Cc: $addr