]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/purge.t
www: drop --subject from "git send-email" instructions
[public-inbox.git] / t / purge.t
index 7f49bc60e30ed84f43dc2854f7b9be0b00d320d1..a33cd3290fc6ca7b000a1bac0e8e5ec9a4b08e58 100644 (file)
--- a/t/purge.t
+++ b/t/purge.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -16,6 +16,7 @@ my $ibx = PublicInbox::Inbox->new({
        inboxdir => $inboxdir,
        name => 'test-v2purge',
        version => 2,
+       -no_fsync => 1,
        -primary_address => 'test@example.com',
        indexlevel => 'basic',
 });
@@ -36,7 +37,7 @@ local $ENV{PI_CONFIG} = $cfgfile;
 open my $cfg_fh, '>', $cfgfile or die "open: $!";
 
 my $v2w = PublicInbox::V2Writable->new($ibx, {nproc => 1});
-my $mime = PublicInbox::MIME->new($raw);
+my $mime = PublicInbox::Eml->new($raw);
 ok($v2w->add($mime), 'add message to be purged');
 $v2w->done;