X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_mount.t;h=b4de827406b70a62c279454e73e882e617d9ec32;hb=d73d783ab2cf14ba28ca63723223d8c85a68cdd5;hp=d29df054586d477fb598558a82adcd065340c500;hpb=62f28026e624ed30d620063a0fa92cbedb7f6673;p=public-inbox.git
diff --git a/t/psgi_mount.t b/t/psgi_mount.t
index d29df054..b4de8274 100644
--- a/t/psgi_mount.t
+++ b/t/psgi_mount.t
@@ -1,9 +1,9 @@
-# Copyright (C) 2016-2019 all contributors
+# Copyright (C) 2016-2020 all contributors
# License: AGPL-3.0+
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