diff options
Diffstat (limited to 't/psgi_v2.t')
-rw-r--r-- | t/psgi_v2.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 3003c5d6..e4f7306e 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -54,11 +54,11 @@ $new_mid = $mids->[1]; $im->done; my $cfgpfx = "publicinbox.v2test"; -my $cfg = { - "$cfgpfx.address" => $ibx->{-primary_address}, - "$cfgpfx.mainrepo" => $mainrepo, -}; -my $config = PublicInbox::Config->new($cfg); +my $cfg = <<EOF; +$cfgpfx.address=$ibx->{-primary_address} +$cfgpfx.mainrepo=$mainrepo +EOF +my $config = PublicInbox::Config->new(\$cfg); my $www = PublicInbox::WWW->new($config); my ($res, $raw, @from_); test_psgi(sub { $www->call(@_) }, sub { |