X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fpsgi_attach.t;h=f5140f44c308371e4971439833fa6919d8f4f49c;hp=41695e0de961a27398bb16e00c06cd507ff6a13b;hb=1317fb7b4ace03f6d9dfb1a42ee5f9371a1bf913;hpb=53a8e32b97985803e9de12c4312a86a8850208b3 diff --git a/t/psgi_attach.t b/t/psgi_attach.t index 41695e0d..f5140f44 100644 --- a/t/psgi_attach.t +++ b/t/psgi_attach.t @@ -21,10 +21,10 @@ use PublicInbox::Config; use PublicInbox::WWW; use_ok 'PublicInbox::WwwAttach'; use Plack::Builder; -my $config = PublicInbox::Config->new({ - "$cfgpfx.address" => $addr, - "$cfgpfx.mainrepo" => $maindir, -}); +my $config = PublicInbox::Config->new(\<new($maindir); my $im = PublicInbox::Import->new($git, 'test', $addr);