about summary refs log tree commit homepage
path: root/t/nntpd-validate.t
diff options
context:
space:
mode:
Diffstat (limited to 't/nntpd-validate.t')
-rw-r--r--t/nntpd-validate.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/nntpd-validate.t b/t/nntpd-validate.t
index 87829b03..de024394 100644
--- a/t/nntpd-validate.t
+++ b/t/nntpd-validate.t
@@ -147,7 +147,7 @@ done_testing();
 sub make_local_server {
         require PublicInbox::Inbox;
         $group = 'inbox.test.perf.nntpd';
-        my $ibx = { mainrepo => $inbox_dir, newsgroup => $group };
+        my $ibx = { inboxdir => $inbox_dir, newsgroup => $group };
         $ibx = PublicInbox::Inbox->new($ibx);
         my $nntpd = 'blib/script/public-inbox-nntpd';
         my $pi_config = "$tmpdir/config";
@@ -156,7 +156,7 @@ sub make_local_server {
                 print $fh <<"" or die "print $pi_config: $!";
 [publicinbox "test"]
         newsgroup = $group
-        mainrepo = $inbox_dir
+        inboxdir = $inbox_dir
         address = test\@example.com
 
                 close $fh or die "close($pi_config): $!";