]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v1-add-remove-add.t
treewide: ditch inbox->recent method
[public-inbox.git] / t / v1-add-remove-add.t
index a94bf7fd048743deaf2bfb02d9032d51e4ba5034..ae045dfa2d4d3af8e7d7c4dac0128572161213e8 100644 (file)
@@ -32,7 +32,7 @@ ok($im->add($mime), 'message added again');
 $im->done;
 my $rw = PublicInbox::SearchIdx->new($ibx, 1);
 $rw->index_sync;
-my $msgs = $ibx->recent({limit => 10});
+my $msgs = $ibx->over->recent({limit => 10});
 is($msgs->[0]->{mid}, 'a-mid@b', 'message exists in history');
 is(scalar @$msgs, 1, 'only one message in history');
 is($ibx->mm->num_for('a-mid@b'), 2, 'exists with second article number');