about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-14 17:01:55 +0000
committerEric Wong <e@80x24.org>2019-06-14 17:27:06 +0000
commit585314673236d664729fe3ab2d4fb229d1c0f2d5 (patch)
tree8e5c0c5b56a662a85dbc0022b20c3272c1a2c34b /t/nntpd.t
parentf70abe08b768bb0d5537ef2c3f9091069046d9a2 (diff)
downloadpublic-inbox-585314673236d664729fe3ab2d4fb229d1c0f2d5.tar.gz
PublicInbox::Inbox objects have minimal dependencies, so
drop code to support old tests which existed before the
PublicInbox::Inbox object came into existence.
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>");