]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntp.t
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / t / nntp.t
index 7ab801c1c2bdcb4f8ba2bd6985c56f91d6ca387b..aabfd4ffb46798f58240405f0cd70cb0d12fed79 100644 (file)
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2018 all contributors <meta@public-inbox.org>
+# Copyright (C) 2015-2019 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -99,7 +99,7 @@ use_ok 'PublicInbox::Inbox';
        require Email::MIME;
        my $u = 'https://example.com/a/';
        my $ng = PublicInbox::Inbox->new({ name => 'test',
-                                       mainrepo => 'test.git',
+                                       inboxdir => 'test.git',
                                        address => 'a@example.com',
                                        -primary_address => 'a@example.com',
                                        newsgroup => 'test',