X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_attach.t;h=96f0cb473ae714b4b39b6fe48591845d75531460;hb=1bbfab375438f149dcff9047dd0c5ed3a08eed53;hp=0d20b7f7f8d1257516d31b0b77b3a89eae7e50d7;hpb=193e9a586d49fb111fd201f491b1ad0be4e386b3;p=public-inbox.git
diff --git a/t/psgi_attach.t b/t/psgi_attach.t
index 0d20b7f7..96f0cb47 100644
--- a/t/psgi_attach.t
+++ b/t/psgi_attach.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 all contributors
+# Copyright (C) 2016-2019 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -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);