]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/psgi_search.t
make Plack optional for non-WWW and non-httpd users
[public-inbox.git] / t / psgi_search.t
index 534063f8ed5206bbd8229dd92699973c2270cde1..5310e5aba9553bbabf252da82c97d3a520c9165e 100644 (file)
@@ -7,13 +7,13 @@ use Email::MIME;
 use PublicInbox::Config;
 use PublicInbox::Inbox;
 use PublicInbox::InboxWritable;
-use PublicInbox::WWW;
 use bytes (); # only for bytes::length
 use PublicInbox::TestCommon;
 my @mods = qw(DBD::SQLite Search::Xapian HTTP::Request::Common Plack::Test
                URI::Escape Plack::Builder);
 require_mods(@mods);
 use_ok($_) for (qw(HTTP::Request::Common Plack::Test));
+use_ok 'PublicInbox::WWW';
 my ($tmpdir, $for_destroy) = tmpdir();
 
 my $ibx = PublicInbox::Inbox->new({