X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fpsgi_search.t;h=ab6892bcfc205aa9ffcdbdc5b595350d456ecf0a;hp=0c4bdcd1d75c5558f7f15a303fd9cdd0bac0cb01;hb=1317fb7b4ace03f6d9dfb1a42ee5f9371a1bf913;hpb=53a8e32b97985803e9de12c4312a86a8850208b3 diff --git a/t/psgi_search.t b/t/psgi_search.t index 0c4bdcd1..ab6892bc 100644 --- a/t/psgi_search.t +++ b/t/psgi_search.t @@ -45,10 +45,10 @@ $im->done; PublicInbox::SearchIdx->new($ibx, 1)->index_sync; my $cfgpfx = "publicinbox.test"; -my $config = PublicInbox::Config->new({ - "$cfgpfx.address" => 'git@vger.kernel.org', - "$cfgpfx.mainrepo" => $tmpdir, -}); +my $config = PublicInbox::Config->new(\<new($config); test_psgi(sub { $www->call(@_) }, sub { my ($cb) = @_;