X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpsgi_v2.t;h=faa139fb7aa2a64ae0405d5124071ce271e995b7;hb=fad9acd35e56a289ade90a62d056b2a6663d448c;hp=bdf23deb1c0080f382d1634712dc57070f2b2e1c;hpb=2b6580afae0c0449fa536b62c8fbad4408337a3f;p=public-inbox.git diff --git a/t/psgi_v2.t b/t/psgi_v2.t index bdf23deb..faa139fb 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -129,6 +129,7 @@ test_psgi(sub { $www->call(@_) }, sub { is(scalar(@from_), 3, 'three From_ lines in t.mbox.gz'); # search interface + $config->each_inbox(sub { $_[0]->search->reopen }); $res = $cb->(POST('/v2test/?q=m:a-mid@b&x=m')); $in = $res->content; $status = IO::Uncompress::Gunzip::gunzip(\$in => \$out);