X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_mount.t;fp=t%2Fpsgi_mount.t;h=7160896bb6c2f5071f6e7572ba5e643e89a73938;hb=1317fb7b4ace03f6d9dfb1a42ee5f9371a1bf913;hp=8da2bc8937bc140a72de2c1e92a97b04f5fb6bc6;hpb=53a8e32b97985803e9de12c4312a86a8850208b3;p=public-inbox.git diff --git a/t/psgi_mount.t b/t/psgi_mount.t index 8da2bc89..7160896b 100644 --- a/t/psgi_mount.t +++ b/t/psgi_mount.t @@ -21,10 +21,10 @@ use PublicInbox::Config; use PublicInbox::WWW; use Plack::Builder; use Plack::App::URLMap; -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);