about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
Diffstat (limited to 't/nntpd.t')
-rw-r--r--t/nntpd.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index a95fb6fc..c37880bf 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -91,7 +91,7 @@ EOF
                 $im->add($mime);
                 $im->done;
                 if ($version == 1) {
-                        my $s = PublicInbox::SearchIdx->new($mainrepo, 1);
+                        my $s = PublicInbox::SearchIdx->new($ibx, 1);
                         $s->index_sync;
                 }
         }
@@ -243,7 +243,7 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000
                 $im->add($for_leafnode);
                 $im->done;
                 if ($version == 1) {
-                        my $s = PublicInbox::SearchIdx->new($mainrepo, 1);
+                        my $s = PublicInbox::SearchIdx->new($ibx, 1);
                         $s->index_sync;
                 }
                 my $hdr = $n->head("<$long_hdr>");