about summary refs log tree commit homepage
path: root/t/psgi_mount.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-14 06:41:13 +0000
committerEric Wong <e@80x24.org>2019-11-15 01:09:12 +0000
commitd571f8a98ae32fa8c5aae31a9fcdddcec7242a8a (patch)
tree8f4bbdcb4d3e18db8fcc3deec604bec16bcce2a7 /t/psgi_mount.t
parent6c2be548847c911c7db7a97118377909bb9ba404 (diff)
downloadpublic-inbox-d571f8a98ae32fa8c5aae31a9fcdddcec7242a8a.tar.gz
We may not implicitly load it via other means in the future.
Diffstat (limited to 't/psgi_mount.t')
-rw-r--r--t/psgi_mount.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/psgi_mount.t b/t/psgi_mount.t
index aa7c863f..7de2bc0e 100644
--- a/t/psgi_mount.t
+++ b/t/psgi_mount.t
@@ -90,9 +90,10 @@ test_psgi($app, sub {
 SKIP: {
         my @mods = qw(DBI DBD::SQLite Search::Xapian IO::Uncompress::Gunzip);
         foreach my $mod (@mods) {
-                eval "require $mod" or skip "$mod not available: $@", 2;
+                eval "require $mod" or skip "$mod not available: $@", 3;
         }
         my $ibx = $config->lookup_name('test');
+        require_ok 'PublicInbox::SearchIdx';
         PublicInbox::SearchIdx->new($ibx, 1)->index_sync;
         test_psgi($app, sub {
                 my ($cb) = @_;