From 0b1de991a099b5e8b9a9e3e85b5eaaacc9362dbb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 May 2019 01:18:08 +0000 Subject: lazy load Xapian and make it optional for v2 More tests work without Search::Xapian, now. Usability issues still need to be fixed --- t/psgi_scan_all.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/psgi_scan_all.t') diff --git a/t/psgi_scan_all.t b/t/psgi_scan_all.t index e9c439ec..2f54c820 100644 --- a/t/psgi_scan_all.t +++ b/t/psgi_scan_all.t @@ -6,8 +6,7 @@ use Test::More; use Email::MIME; use File::Temp qw/tempdir/; use PublicInbox::Config; -my @mods = qw(HTTP::Request::Common Plack::Test URI::Escape Search::Xapian - DBD::SQLite); +my @mods = qw(HTTP::Request::Common Plack::Test URI::Escape DBD::SQLite); foreach my $mod (@mods) { eval "require $mod"; plan skip_all => "$mod missing for psgi_scan_all.t" if $@; @@ -26,6 +25,7 @@ foreach my $i (1..2) { mainrepo => $mainrepo, name => "test-$i", version => 2, + indexlevel => 'basic', -primary_address => $addr, }; my $ibx = PublicInbox::Inbox->new($opt); -- cgit v1.2.3-24-ge0c7