t/psgi_mount.t | 3 ++- diff --git a/t/psgi_mount.t b/t/psgi_mount.t index aa7c863f5274421e528c4a4e79d28a48a27b41db..7de2bc0eee9d0c2b8b6e4e013a4f682f40f5a581 100644 --- a/t/psgi_mount.t +++ b/t/psgi_mount.t @@ -90,9 +90,10 @@ 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) = @_;