X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fconvert-compact.t;h=bad6560e9cff2344d2007a0eb2d85084ff9bd545;hb=refs%2Fheads%2Fmaster;hp=7270cab082838539e81cf2d6294abd85a3a29309;hpb=a82c3ceb838e8bb478440263790c28ebae6ec9cd;p=public-inbox.git
diff --git a/t/convert-compact.t b/t/convert-compact.t
index 7270cab0..bad6560e 100644
--- a/t/convert-compact.t
+++ b/t/convert-compact.t
@@ -1,5 +1,5 @@
#!perl -w
-# Copyright (C) 2018-2021 all contributors
+# Copyright (C) all contributors
# License: AGPL-3.0+
use strict;
use v5.10.1;
@@ -8,8 +8,7 @@ use PublicInbox::TestCommon;
use PublicInbox::Import;
require_git(2.6);
require_mods(qw(DBD::SQLite Search::Xapian));
-have_xapian_compact or
- plan skip_all => 'xapian-compact missing for '.__FILE__;
+have_xapian_compact;
my ($tmpdir, $for_destroy) = tmpdir();
my $ibx = create_inbox 'v1', indexlevel => 'medium', tmpdir => "$tmpdir/v1",
pre_cb => sub {
@@ -101,7 +100,7 @@ foreach (@xdir) {
is($st[2] & 07777, -f _ ? 0444 : 0755,
'sharedRepository respected after v2 compact');
}
-my $msgs = $ibx->recent({limit => 1000});
+my $msgs = $ibx->over->recent({limit => 1000});
is($msgs->[0]->{mid}, 'a-mid@b', 'message exists in history');
is(scalar @$msgs, 1, 'only one message in history');