]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/config.t
www: add configurable limiters
[public-inbox.git] / t / config.t
index dc448cdffff6b7f92574a4a7903323ccd9e769b3..77e8f4ac18e5bd7b8b153a18326e12a5581690e6 100644 (file)
@@ -30,6 +30,7 @@ my $tmpdir = tempdir('pi-config-XXXXXX', TMPDIR => 1, CLEANUP => 1);
                'url' => 'http://example.com/meta',
                -primary_address => 'meta@public-inbox.org',
                'name' => 'meta',
+               -pi_config => $cfg,
        }, "lookup matches expected output");
 
        is($cfg->lookup('blah@example.com'), undef,
@@ -45,6 +46,7 @@ my $tmpdir = tempdir('pi-config-XXXXXX', TMPDIR => 1, CLEANUP => 1);
                'domain' => 'public-inbox.org',
                'name' => 'test',
                'url' => 'http://example.com/test',
+               -pi_config => $cfg,
        }, "lookup matches expected output for test");
 }