X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fsearch-thr-index.t;h=fc1b666a39da185929877939515388aa507e8457;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=b5a5ff1fbb9b9651e6211f9dca031d38e5b47654;hpb=1814b1a0b78770c8ba9e7a0adef56c4c324d4064;p=public-inbox.git
diff --git a/t/search-thr-index.t b/t/search-thr-index.t
index b5a5ff1f..fc1b666a 100644
--- a/t/search-thr-index.t
+++ b/t/search-thr-index.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020 all contributors
+# Copyright (C) 2017-2021 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -60,9 +60,9 @@ foreach (reverse split(/\n\n/, $data)) {
my $prev;
my %tids;
-my $dbh = $rw->{over}->dbh;
+my $dbh = $rw->{oidx}->dbh;
foreach my $mid (@mids) {
- my $msgs = $rw->{over}->get_thread($mid);
+ my $msgs = $rw->{oidx}->get_thread($mid);
is(3, scalar(@$msgs), "got all messages from $mid");
foreach my $m (@$msgs) {
my $tid = $dbh->selectrow_array(<<'', undef, $m->{num});
@@ -84,9 +84,9 @@ Message-Id: <1-bw@g>
From: bw@g
To: git@vger.kernel.org
- my $dbh = $rw->{over}->dbh;
+ my $dbh = $rw->{oidx}->dbh;
my ($id, $prev);
- my $reidx = $rw->{over}->next_by_mid('1-bw@g', \$id, \$prev);
+ my $reidx = $rw->{oidx}->next_by_mid('1-bw@g', \$id, \$prev);
ok(defined $reidx);
my $num = $reidx->{num};
my $tid0 = $dbh->selectrow_array(<<'', undef, $num);