about summary refs log tree commit homepage
path: root/t/psgi_v2.t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-06 21:44:38 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-06 21:45:03 +0000
commitfad9acd35e56a289ade90a62d056b2a6663d448c (patch)
tree74d3203af13690a521d4de54ca2733223e2c389e /t/psgi_v2.t
parent8f2999546c9447ce2aed48ba4d1192e0058e28a2 (diff)
downloadpublic-inbox-fad9acd35e56a289ade90a62d056b2a6663d448c.tar.gz
Favor simpler internal APIs this time around, this cuts
a fair amount of code out and takes another step towards
removing Xapian as a dependency for v2 repos.
Diffstat (limited to 't/psgi_v2.t')
-rw-r--r--t/psgi_v2.t1
1 files changed, 1 insertions, 0 deletions
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);