]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/config_limiter.t
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / t / config_limiter.t
index c1fffecf8b3c381ae91ee8a60769ff3b6fddadf2..57e298bab80ef4e0613f93c4d09be5dcd099016e 100644 (file)
@@ -8,7 +8,7 @@ my $cfgpfx = "publicinbox.test";
 {
        my $config = PublicInbox::Config->new(\<<EOF);
 $cfgpfx.address=test\@example.com
-$cfgpfx.mainrepo=/path/to/non/existent
+$cfgpfx.inboxdir=/path/to/non/existent
 $cfgpfx.httpbackendmax=12
 EOF
        my $ibx = $config->lookup_name('test');
@@ -27,7 +27,7 @@ EOF
        my $config = PublicInbox::Config->new(\<<EOF);
 publicinboxlimiter.named.max=3
 $cfgpfx.address=test\@example.com
-$cfgpfx.mainrepo=/path/to/non/existent
+$cfgpfx.inboxdir=/path/to/non/existent
 $cfgpfx.httpbackendmax=named
 EOF
        my $ibx = $config->lookup_name('test');