about summary refs log tree commit homepage
path: root/t/v2mirror.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-02 11:04:13 +0000
committerEric Wong <e@80x24.org>2020-09-03 20:11:03 +0000
commit73e3a6ed6e95adc67cfa10079f11c28fe3f78517 (patch)
tree46faba429086e37aeef256315da61dfeebe2179f /t/v2mirror.t
parentd73d783ab2cf14ba28ca63723223d8c85a68cdd5 (diff)
downloadpublic-inbox-73e3a6ed6e95adc67cfa10079f11c28fe3f78517.tar.gz
use more idiomatic internal API for ->over access
{over_ro} being a part of the Search object is a historical
oddity which will go away, soon.  Lets start removing its use in
tests and rarely-used helper scripts.
Diffstat (limited to 't/v2mirror.t')
-rw-r--r--t/v2mirror.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/v2mirror.t b/t/v2mirror.t
index a4ac682d..bca43fd5 100644
--- a/t/v2mirror.t
+++ b/t/v2mirror.t
@@ -134,7 +134,7 @@ $mime->header_set('Subject', 'subject = 10');
 
 $v2w->done;
 
-my $msgs = $mibx->search->{over_ro}->get_thread('10@example.com');
+my $msgs = $mibx->over->get_thread('10@example.com');
 my $to_purge = $msgs->[0]->{blob};
 like($to_purge, qr/\A[a-f0-9]{40,}\z/, 'read blob to be purged');
 $mset = $ibx->search->reopen->query('m:10@example.com', {mset => 1});